MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / BlockReed

Method BlockReed

src/main/java/net/minecraft/block/BlockReed.java:23–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 public static final PropertyInteger AGE = PropertyInteger.create("age", 0, 15);
22
23 protected BlockReed()
24 {
25 super(Material.plants);
26 this.setDefaultState(this.blockState.getBaseState().withProperty(AGE, 0));
27 float f = 0.375F;
28 this.setBlockBounds(0.5F - f, 0.0F, 0.5F - f, 0.5F + f, 1.0F, 0.5F + f);
29 this.setTickRandomly(true);
30 }
31
32 public void updateTick(World worldIn, BlockPos pos, IBlockState state, Random rand)
33 {

Callers

nothing calls this directly

Calls 5

setDefaultStateMethod · 0.80
getBaseStateMethod · 0.80
setBlockBoundsMethod · 0.80
setTickRandomlyMethod · 0.80
withPropertyMethod · 0.65

Tested by

no test coverage detected