Class EntityTransformSnapshot
java.lang.Object
com.hypixel.hytale.builtin.buildertools.snapshot.EntityTransformSnapshot
- All Implemented Interfaces:
EntitySnapshot<EntityTransformSnapshot>,SelectionSnapshot<EntityTransformSnapshot>
public class EntityTransformSnapshot
extends Object
implements EntitySnapshot<EntityTransformSnapshot>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Vector3fprivate final Ref<EntityStore> private final Transform -
Constructor Summary
ConstructorsConstructorDescriptionEntityTransformSnapshot(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) -
Method Summary
Modifier and TypeMethodDescriptionrestoreEntity(Player player, World world, ComponentAccessor<EntityStore> componentAccessor) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.builtin.buildertools.snapshot.EntitySnapshot
restore
-
Field Details
-
ref
-
transform
-
headRotation
-
-
Constructor Details
-
EntityTransformSnapshot
public EntityTransformSnapshot(@Nonnull Ref<EntityStore> ref, @Nonnull ComponentAccessor<EntityStore> componentAccessor)
-
-
Method Details
-
restoreEntity
public EntityTransformSnapshot restoreEntity(@Nonnull Player player, @Nonnull World world, @Nonnull ComponentAccessor<EntityStore> componentAccessor) - Specified by:
restoreEntityin interfaceEntitySnapshot<EntityTransformSnapshot>
-