Class RuntimeBlockInstance
java.lang.Object
dev.rono.igniscore.api.model.RuntimeBlockInstance
Represents an active custom block in the world with persistent metadata and runtime state.
-
Constructor Summary
ConstructorsConstructorDescriptionRuntimeBlockInstance(UUID uuid, BlockDefinition definition, IgnisLocation location) -
Method Summary
Modifier and TypeMethodDescriptiongetData()booleangetTask()intgetUuid()voidregisterDisplayEntityId(int entityId) voidsetDisplayEntity(Object displayEntity) voidvoidvoidsetTicksLeft(int ticksLeft) voidtick()
-
Constructor Details
-
RuntimeBlockInstance
-
-
Method Details
-
getUuid
-
getBlockDefinitionId
-
getDefinition
-
getWorldName
-
getLocation
-
getDisplayEntityIds
-
getData
-
getTicksLeft
public int getTicksLeft() -
setTicksLeft
public void setTicksLeft(int ticksLeft) -
tick
public void tick() -
getDisplayEntity
-
setDisplayEntity
-
registerDisplayEntityId
public void registerDisplayEntityId(int entityId) -
getTask
-
setTask
-
setFlag
-
getFlag
-