setMaterial(type == Type.IRON ? Material.iron : Material.wood);
setHardness(type == Type.IRON ? 5.0F : 3.0F);
setSoundType(type == Type.IRON ? Block.soundTypeMetal : Block.soundTypeWood);
setName(type == Type.IRON ? "iron_trapdoor" : "trapdoor");
setTextureName("minecraft", type == Type.IRON ? "blocks/iron_trapdoor" : "blocks/trapdoor");
<BUG>setRequireRedstone(type == Type.IRON);
setMovement(DoorRegistry.getMovement(TrapDoorMovement.class));</BUG>
setSound(DoorRegistry.getSound(VanillaDoorSound.class));
setTab(CreativeTabs.tabRedstone);
}

setMaterial(type == Type.IRON ? Material.iron : Material.wood);
setHardness(type == Type.IRON ? 5.0F : 3.0F);
setSoundType(type == Type.IRON ? Block.soundTypeMetal : Block.soundTypeWood);
setName(type == Type.IRON ? "iron_trapdoor" : "trapdoor");
setTextureName("minecraft", type == Type.IRON ? "blocks/iron_trapdoor" : "blocks/trapdoor");
setRedstoneBehavior(type == Type.IRON ? RedstoneBehavior.REDSTONE_ONLY : RedstoneBehavior.STANDARD);
setMovement(DoorRegistry.getMovement(TrapDoorMovement.class));
setSound(DoorRegistry.getSound(VanillaDoorSound.class));
setTab(CreativeTabs.tabRedstone);
