BuilderToolsPlugin.Action
Package: com.hypixel.hytale.builtin.buildertools
public static enum ActionEnum of action types used by the undo/redo system in BuilderToolsPlugin.BuilderState. Each action type identifies the kind of editing operation that was performed, paired with its snapshots in an ActionEntry.
Enum Constants
Section titled “Enum Constants”| Constant | Description |
|---|---|
EDIT | A brush tool edit operation. |
EDIT_SELECTION | An edit operation that modified the selection. |
EDIT_LINE | A line drawing operation. |
CUT_COPY | The copy phase of a cut operation. |
CUT_REMOVE | The removal phase of a cut operation. |
COPY | A clipboard copy operation. |
PASTE | A clipboard paste operation. |
CLEAR | A clear/delete operation. |
ROTATE | A clipboard rotation operation. |
FLIP | A clipboard flip/mirror operation. |
MOVE | A move operation. |
STACK | A stack operation. |
SET | A set (fill all blocks) operation. |
REPLACE | A replace operation. |
EXTRUDE | An extrude/extend face operation. |
UPDATE_SELECTION | A selection bounds update. |
WALLS | A walls operation. |
HOLLOW | A hollow operation. |
LAYER | A layer operation. |
The ROTATE action has special handling during undo/redo: entity refs from the previous rotation are cleaned up before restoring the snapshot. See ActionEntry.restore() for details.
Related Types
Section titled “Related Types”- BuilderToolsPlugin.ActionEntry — pairs an action with snapshots
- BuilderToolsPlugin.BuilderState — uses these actions in its undo/redo queues
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.