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

Method BlockGrass

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

Source from the content-addressed store, hash-verified

21 public static final PropertyBool SNOWY = PropertyBool.create("snowy");
22
23 protected BlockGrass()
24 {
25 super(Material.grass);
26 this.setDefaultState(this.blockState.getBaseState().withProperty(SNOWY, Boolean.FALSE));
27 this.setTickRandomly(true);
28 this.setCreativeTab(CreativeTabs.tabBlock);
29 }
30
31 /**
32 * 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 5

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

Tested by

no test coverage detected