(Block modelBlock)
| 29 | public static final PropertyEnum<BlockWall.EnumType> VARIANT = PropertyEnum.<BlockWall.EnumType>create("variant", BlockWall.EnumType.class); |
| 30 | |
| 31 | public BlockWall(Block modelBlock) |
| 32 | { |
| 33 | super(modelBlock.blockMaterial); |
| 34 | this.setDefaultState(this.blockState.getBaseState().withProperty(UP, Boolean.FALSE).withProperty(NORTH, Boolean.FALSE).withProperty(EAST, Boolean.FALSE).withProperty(SOUTH, Boolean.FALSE).withProperty(WEST, Boolean.FALSE).withProperty(VARIANT, BlockWall.EnumType.NORMAL)); |
| 35 | this.setHardness(modelBlock.blockHardness); |
| 36 | this.setResistance(modelBlock.blockResistance / 3.0F); |
| 37 | this.setStepSound(modelBlock.stepSound); |
| 38 | this.setCreativeTab(CreativeTabs.tabBlock); |
| 39 | } |
| 40 | |
| 41 | /** |
| 42 | * Gets the localized name of this block. Used for the statistics page. |
nothing calls this directly
no test coverage detected