Contents
Class EntityAddSnapshot
java.lang.Object
com.hypixel.hytale.builtin.buildertools.snapshot.EntityAddSnapshot
- All Implemented Interfaces:
EntitySnapshot<EntityRemoveSnapshot>, SelectionSnapshot<EntityRemoveSnapshot>
Represents an entity that has been added to the world during a tool operation.
Restoring this snapshot will have the effect of removing the entity that was created.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrestoreEntity(PlayerRef playerRef, World world, ComponentAccessor<EntityStore> componentAccessor) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EntitySnapshot
restore, updateEntityRefMethods inherited from interface SelectionSnapshot
estimatedBlockWeight
-
Constructor Details
-
EntityAddSnapshot
-
-
Method Details
-
getEntityRef
-
restoreEntity
@Nullable public EntityRemoveSnapshot restoreEntity(@Nonnull PlayerRef playerRef, @Nonnull World world, @Nonnull ComponentAccessor<EntityStore> componentAccessor) - Specified by:
restoreEntityin interfaceEntitySnapshot<EntityRemoveSnapshot>
-