Class LazyBaseEntity
java.lang.Object
com.sk89q.worldedit.entity.BaseEntity
com.fastasyncworldedit.core.entity.LazyBaseEntity
- All Implemented Interfaces:
NbtValued
-
Constructor Summary
ConstructorDescriptionLazyBaseEntity
(EntityType type, Supplier<com.sk89q.worldedit.util.nbt.CompoundBinaryTag> saveTag) -
Method Summary
Modifier and TypeMethodDescriptioncom.sk89q.worldedit.util.nbt.CompoundBinaryTag
getNbt()
Get the object's NBT data (tile entity data).Methods inherited from class com.sk89q.worldedit.entity.BaseEntity
getNbtReference, getType, setNbtReference
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sk89q.worldedit.world.NbtValued
getNbtData, hasNbtData, setNbt, setNbtData
-
Constructor Details
-
LazyBaseEntity
public LazyBaseEntity(EntityType type, Supplier<com.sk89q.worldedit.util.nbt.CompoundBinaryTag> saveTag)
-
-
Method Details
-
getNbt
@Nullable public com.sk89q.worldedit.util.nbt.CompoundBinaryTag getNbt()Description copied from interface:NbtValued
Get the object's NBT data (tile entity data).- Returns:
- compound tag, or null
-