Skip to content

BuilderToolsPlugin.Action

Package: com.hypixel.hytale.builtin.buildertools

public static enum Action

Enum 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.

ConstantDescription
EDITA brush tool edit operation.
EDIT_SELECTIONAn edit operation that modified the selection.
EDIT_LINEA line drawing operation.
CUT_COPYThe copy phase of a cut operation.
CUT_REMOVEThe removal phase of a cut operation.
COPYA clipboard copy operation.
PASTEA clipboard paste operation.
CLEARA clear/delete operation.
ROTATEA clipboard rotation operation.
FLIPA clipboard flip/mirror operation.
MOVEA move operation.
STACKA stack operation.
SETA set (fill all blocks) operation.
REPLACEA replace operation.
EXTRUDEAn extrude/extend face operation.
UPDATE_SELECTIONA selection bounds update.
WALLSA walls operation.
HOLLOWA hollow operation.
LAYERA 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.

Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.