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

Method BlockStem

src/main/java/net/minecraft/block/BlockStem.java:34–42  ·  view source on GitHub ↗
(Block crop)

Source from the content-addressed store, hash-verified

32 private final Block crop;
33
34 protected BlockStem(Block crop)
35 {
36 this.setDefaultState(this.blockState.getBaseState().withProperty(AGE, 0).withProperty(FACING, EnumFacing.UP));
37 this.crop = crop;
38 this.setTickRandomly(true);
39 float f = 0.125F;
40 this.setBlockBounds(0.5F - f, 0.0F, 0.5F - f, 0.5F + f, 0.25F, 0.5F + f);
41 this.setCreativeTab(null);
42 }
43
44 /**
45 * Get the actual Block state of this Block at the given position. This applies properties not visible in the

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected