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

Method getLightLevel

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

Gets the current light level of the block represented by this block state. @return the light level between 0-15 @throws IllegalStateException if this block state is not placed

()

Source from the content-addressed store, hash-verified

62 * @throws IllegalStateException if this block state is not placed
63 */
64 byte getLightLevel();
65
66 /**
67 * Gets the world which contains the block represented by this block state.

Callers

nothing calls this directly

Implementers 1

CraftBlockStatesrc/main/java/org/bukkit/craftbukkit/v

Calls

no outgoing calls

Tested by

no test coverage detected