Skip to content

CopyCutSettings

Package: com.hypixel.hytale.builtin.buildertools

public class CopyCutSettings

Defines bitflag constants that control what data is included in copy/cut clipboard operations. Flags are combined with bitwise OR to specify which elements (blocks, entities, fluids, etc.) are copied or cut.

ConstantValueDescription
NONE0No flags set.
CUT2Cut mode — clears the source region after copying.
EMPTY4Include empty/air blocks in the clipboard.
BLOCKS8Include block data in the clipboard.
ENTITIES16Include entities in the clipboard.
TINT_MAP32Include tint color data in the clipboard.
KEEP_ANCHORS64Preserve prefab anchor entities during the operation.
FLUIDS128Include fluid data in the clipboard.

These flags are passed to BuilderState.copyOrCut() and related clipboard methods. Commands like CopyCommand and CutCommand compose the appropriate flag combination based on their command-line flags (e.g., --noEntities, --onlyEntities, --empty, --keepanchors).

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