Contents
Class ClipboardBoundsSnapshot
java.lang.Object
com.hypixel.hytale.builtin.buildertools.snapshot.ClipboardBoundsSnapshot
- All Implemented Interfaces:
ClipboardSnapshot<ClipboardBoundsSnapshot>, SelectionSnapshot<ClipboardBoundsSnapshot>
public class ClipboardBoundsSnapshot
extends Object
implements ClipboardSnapshot<ClipboardBoundsSnapshot>
Represents the position of the clipboard's selection bounding box prior to modification.
Restoring this snapshot will set the player's clipboard selection to those contained in the snapshot, undoing
operations such as contract invalid input: '&' expand.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClipboardBoundsSnapshot(BlockSelection selection) ClipboardBoundsSnapshot(org.joml.Vector3i min, org.joml.Vector3i max) -
Method Summary
Modifier and TypeMethodDescriptionorg.joml.Vector3igetMax()org.joml.Vector3igetMin()restoreClipboard(Ref<EntityStore> ref, PlayerRef playerRef, World world, BuilderToolsPlugin.BuilderState state, ComponentAccessor<EntityStore> componentAccessor) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ClipboardSnapshot
restoreMethods inherited from interface SelectionSnapshot
estimatedBlockWeight
-
Field Details
-
EMPTY
-
-
Constructor Details
-
ClipboardBoundsSnapshot
-
ClipboardBoundsSnapshot
public ClipboardBoundsSnapshot(org.joml.Vector3i min, org.joml.Vector3i max)
-
-
Method Details
-
getMin
public org.joml.Vector3i getMin() -
getMax
public org.joml.Vector3i getMax() -
restoreClipboard
public ClipboardBoundsSnapshot restoreClipboard(Ref<EntityStore> ref, PlayerRef playerRef, World world, @Nonnull BuilderToolsPlugin.BuilderState state, ComponentAccessor<EntityStore> componentAccessor) - Specified by:
restoreClipboardin interfaceClipboardSnapshot<ClipboardBoundsSnapshot>
-