MCPcopy Create free account
hub / github.com/Teneted/Tenet / isInstantGrowable

Method isInstantGrowable

src/main/java/org/bukkit/material/Sapling.java:92–94  ·  view source on GitHub ↗

Checks if the Sapling would grow when next ticked with bonemeal @return true if the Sapling would grow when next ticked with bonemeal

()

Source from the content-addressed store, hash-verified

90 * @return true if the Sapling would grow when next ticked with bonemeal
91 */
92 public boolean isInstantGrowable() {
93 return (getData() & 0x8) == 0x8;
94 }
95
96 /**
97 * Set whether this sapling will grow when next ticked with bonemeal

Callers 1

toStringMethod · 0.95

Implementers 1

CraftSaplingsrc/main/java/org/bukkit/craftbukkit/v

Calls 1

getDataMethod · 0.65

Tested by

no test coverage detected