Enum Class BuiltInClipboardFormat
java.lang.Object
java.lang.Enum<BuiltInClipboardFormat>
com.sk89q.worldedit.extent.clipboard.io.BuiltInClipboardFormat
- All Implemented Interfaces:
ClipboardFormat, Serializable, Comparable<BuiltInClipboardFormat>, Constable
A collection of supported clipboard formats.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Schematic format used by MCEdit.The structure block format: Structure file - Minecraft WikiIsometric PNG writer.Deprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuiltInClipboardFormatstatic final BuiltInClipboardFormatDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionGet a set of aliases.Get the file extensions this format is commonly known to use.getName()Returns the name of this format.static BuiltInClipboardFormatReturns the enum constant of this class with the specified name.static BuiltInClipboardFormat[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface ClipboardFormat
getExplicitFileExtensions, getPrimaryFileExtension, getReader, getWriter, hold, isFormat, isFormat, load, load, upload, write
-
Enum Constant Details
-
FAST_V3
-
FAST_V2
-
MCEDIT_SCHEMATIC
The Schematic format used by MCEdit. -
SPONGE_V1_SCHEMATIC
-
SPONGE_V2_SCHEMATIC
Deprecated.Slow, resource intensive, but sometimes safer than using the recommendedFAST_V2. Avoid using with any large schematics/clipboards for reading/writing. -
SPONGE_V3_SCHEMATIC
-
BROKENENTITY
-
MINECRAFT_STRUCTURE
The structure block format: Structure file - Minecraft Wiki -
PNG
Isometric PNG writer. Only supports solid, full-cube blocks and creates a view of the clipboard looking FROM the south east of the clipboard
-
-
Field Details
-
SPONGE_SCHEMATIC
Deprecated.For backwards compatibility, this points to the Sponge Schematic Specification (Version 2) format. This should not be used going forwards. -
FAST
For backwards compatibility, this points to the fast implementation of the Sponge Schematic Specification (Version 2) format. This should not be used going forwards.
-
-
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
-
getName
Description copied from interface:ClipboardFormatReturns the name of this format.- Specified by:
getNamein interfaceClipboardFormat- Returns:
- The name of the format
-
getAliases
Description copied from interface:ClipboardFormatGet a set of aliases.- Specified by:
getAliasesin interfaceClipboardFormat- Returns:
- a set of aliases
-
getFileExtensions
Description copied from interface:ClipboardFormatGet the file extensions this format is commonly known to use. This should includeClipboardFormat.getPrimaryFileExtension().- Specified by:
getFileExtensionsin interfaceClipboardFormat- Returns:
- The file extensions this format might be known by
-
FAST_V2.