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

Method getState

src/main/java/org/bukkit/block/Block.java:269–269  ·  view source on GitHub ↗

Captures the current state of this block. You may then cast that state into any accepted type, such as Furnace or Sign. The returned object will never be updated, and you are not guaranteed that (for example) a sign is still a sign after you capture its state. @return BlockState with the curren

()

Source from the content-addressed store, hash-verified

267 * @return BlockState with the current state of this block.
268 */
269 @NotNull
270 BlockState getState();
271
272 /**

Callers 15

handleBlockGrowEventMethod · 0.95
containsMethod · 0.65
getTileEntitiesMethod · 0.65
containsMethod · 0.65
toNMSMethod · 0.65
callMethod · 0.65
spawnFallingBlockMethod · 0.65
setBlockMethod · 0.65
setRegionMethod · 0.65
setBlockDataMethod · 0.65
setBlockDataMethod · 0.65
newDataMethod · 0.65

Implementers 1

CraftBlocksrc/main/java/org/bukkit/craftbukkit/v

Calls

no outgoing calls

Tested by

no test coverage detected