StructureEntity
Represents an entity stored in a structure.
Functions
getNbtData
Link copied to clipboard
Gets the nbt data of the stored entity in string format.
getSourceLocation
Link copied to clipboard
abstract fun getSourceLocation(): Location
Content copied to clipboard
Gets the relative source location inside the structure.
spawnEntity
Link copied to clipboard
Tries to spawn an entity from the stored nbt data at the given location.