Contents
Class TriggerVolumeGroupSnapshot
java.lang.Object
com.hypixel.hytale.builtin.triggervolumes.snapshot.TriggerVolumeGroupSnapshot
- All Implemented Interfaces:
SelectionSnapshot<TriggerVolumeGroupSnapshot>
public class TriggerVolumeGroupSnapshot
extends Object
implements SelectionSnapshot<TriggerVolumeGroupSnapshot>
-
Method Summary
Modifier and TypeMethodDescriptionstatic TriggerVolumeGroupSnapshotofCreate(GroupEntry group) static TriggerVolumeGroupSnapshotofDelete(GroupEntry group) restore(Ref<EntityStore> ref, PlayerRef playerRef, World world, ComponentAccessor<EntityStore> componentAccessor) Restore the state represented by this snapshot, optionally returning a new snapshot of the subject's current state.Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SelectionSnapshot
estimatedBlockWeight
-
Method Details
-
ofCreate
-
ofDelete
-
restore
public TriggerVolumeGroupSnapshot restore(@Nonnull Ref<EntityStore> ref, PlayerRef playerRef, World world, ComponentAccessor<EntityStore> componentAccessor) Description copied from interface:SelectionSnapshotRestore the state represented by this snapshot, optionally returning a new snapshot of the subject's current state.- Specified by:
restorein interfaceSelectionSnapshot<TriggerVolumeGroupSnapshot>- Parameters:
ref-playerRef- The Player reference invoking the buildertool operation.world- The World in which the operation is taking place.componentAccessor-- Returns:
- A new snapshot of the subject prior to restoring its state or null.
-