()
| 19 | public static final PropertyInteger AGE = PropertyInteger.create("age", 0, 7); |
| 20 | |
| 21 | protected BlockCrops() |
| 22 | { |
| 23 | this.setDefaultState(this.blockState.getBaseState().withProperty(AGE, 0)); |
| 24 | this.setTickRandomly(true); |
| 25 | float f = 0.5F; |
| 26 | this.setBlockBounds(0.5F - f, 0.0F, 0.5F - f, 0.5F + f, 0.25F, 0.5F + f); |
| 27 | this.setCreativeTab(null); |
| 28 | this.setHardness(0.0F); |
| 29 | this.setStepSound(soundTypeGrass); |
| 30 | this.disableStats(); |
| 31 | } |
| 32 | |
| 33 | /** |
| 34 | * is the block grass, dirt or farmland |
nothing calls this directly
no test coverage detected