Contents
Enum Class BuilderToolsPlugin.Action
java.lang.Object
java.lang.Enum<BuilderToolsPlugin.Action>
com.hypixel.hytale.builtin.buildertools.BuilderToolsPlugin.Action
- All Implemented Interfaces:
UndoAction, Serializable, Comparable<BuilderToolsPlugin.Action>, Constable
- Enclosing class:
BuilderToolsPlugin
public static enum BuilderToolsPlugin.Action
extends Enum<BuilderToolsPlugin.Action>
implements UndoAction
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionid()Unique identifier for the actionbooleanWhether this action should dirty active prefab edit sessions.Localized label shown in undo/redo feedback chat messagesstatic BuilderToolsPlugin.ActionReturns the enum constant of this class with the specified name.static BuilderToolsPlugin.Action[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
EDIT
-
EDIT_SELECTION
-
EDIT_LINE
-
CUT_COPY
-
CUT_REMOVE
-
COPY
-
PASTE
-
CLEAR
-
TRANSFORM
-
FLIP
-
MOVE
-
STACK
-
SET
-
REPLACE
-
EXTRUDE
-
UPDATE_SELECTION
-
WALLS
-
HOLLOW
-
LAYER
-
ENTITY_TRANSFORM
-
ENTITY_SCALE
-
ENTITY_CLONE
-
ENTITY_REMOVE
-
ENTITY_FREEZE
-
ENTITY_SETTINGS
-
TRIGGER_VOLUME
-
POINT
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
id
Description copied from interface:UndoActionUnique identifier for the action- Specified by:
idin interfaceUndoAction
-
toMessage
Description copied from interface:UndoActionLocalized label shown in undo/redo feedback chat messages- Specified by:
toMessagein interfaceUndoAction
-
marksPrefabDirty
public boolean marksPrefabDirty()Description copied from interface:UndoActionWhether this action should dirty active prefab edit sessions. Defaults to true. Override to false for non-destructive actions (clipboard copies, selection changes, etc.).- Specified by:
marksPrefabDirtyin interfaceUndoAction
-