Heres the base code you'll need
//Blocks
public static Block fencePistonOn = new BlockFencePiston(1537, Material.piston, true, false);
public static Block fencePistonOff = new BlockFencePiston(1538, Material.piston, false, false).setCreativeTab(CreativeTabs.tabRedstone);
public static Block killFencePistonOn = new BlockFencePiston(1539, Material.piston, true, true);
public static Block killFencePistonOff = new BlockFencePiston(1540, Material.piston, false, true).setCreativeTab(CreativeTabs.tabRedstone);
@Init
public static void init(FMLInitializationEvent e){
GameRegistry.registerBlock(fencePistonOff, "Fence Piston");
GameRegistry.registerBlock(killFencePistonOff, "Killer Fence Piston");
LanguageRegistry.addName(fencePistonOff, "Fence Piston");
LanguageRegistry.addName(killFencePistonOff, "Killer Fence Piston");
}
Alright, so the problem is that both blocks are named Killer Fence Piston, but neither have the killer effect... what did I do wrong, im new to 1.5 modding and a lot has changed.
Thanks for your help