(World worldIn, Random rand, BlockPos pos, IBlockState state)
| 131 | } |
| 132 | |
| 133 | public void grow(World worldIn, Random rand, BlockPos pos, IBlockState state) |
| 134 | { |
| 135 | BlockDoublePlant.EnumPlantType blockdoubleplant$enumplanttype = BlockDoublePlant.EnumPlantType.GRASS; |
| 136 | |
| 137 | if (state.getValue(TYPE) == BlockTallGrass.EnumType.FERN) |
| 138 | { |
| 139 | blockdoubleplant$enumplanttype = BlockDoublePlant.EnumPlantType.FERN; |
| 140 | } |
| 141 | |
| 142 | if (Blocks.double_plant.canPlaceBlockAt(worldIn, pos)) |
| 143 | { |
| 144 | Blocks.double_plant.placeAt(worldIn, pos, blockdoubleplant$enumplanttype, 2); |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | /** |
| 149 | * Convert the given metadata into a BlockState for this Block |
nothing calls this directly
no test coverage detected