Package com.nexomc.nexo.mechanics.light
Class LightBlock
-
- All Implemented Interfaces:
-
org.bukkit.configuration.serialization.ConfigurationSerializable
public final class LightBlock extends BlockLocation
-
-
Constructor Summary
Constructors Constructor Description LightBlock(String hitboxString)
LightBlock(Location location, Light lightData)
LightBlock(Integer x, Integer y, Integer z, Integer lightLevel)
-
Method Summary
Modifier and Type Method Description final Integer
getLightLevel()
final Light
getLightData()
final LightBlock
from(Object hitboxObject)
-
Methods inherited from class com.nexomc.nexo.mechanics.furniture.BlockLocation
add, add, add, distanceTo, equals, getX, getY, getZ, groundRotate, hashCode, serialize, setX, setY, setZ, subtract, subtract, subtract, toLocation, toString, toVector, toVector3f
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getLightLevel
final Integer getLightLevel()
-
getLightData
final Light getLightData()
-
from
final LightBlock from(Object hitboxObject)
-
-
-
-