CopyCutSettings
Package: com.hypixel.hytale.builtin.buildertools
public class CopyCutSettingsDefines 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.
Constants
Section titled “Constants”| Constant | Value | Description |
|---|---|---|
NONE | 0 | No flags set. |
CUT | 2 | Cut mode — clears the source region after copying. |
EMPTY | 4 | Include empty/air blocks in the clipboard. |
BLOCKS | 8 | Include block data in the clipboard. |
ENTITIES | 16 | Include entities in the clipboard. |
TINT_MAP | 32 | Include tint color data in the clipboard. |
KEEP_ANCHORS | 64 | Preserve prefab anchor entities during the operation. |
FLUIDS | 128 | Include 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).
Related Types
Section titled “Related Types”- BuilderToolsPlugin.BuilderState — uses these flags in copy/cut operations
- BuilderToolsPlugin — owns the builder state that performs clipboard operations
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.