Class DataFormats
- java.lang.Object
-
- org.spongepowered.api.data.persistence.DataFormats
-
public final class DataFormats extends java.lang.Object
A pseudo-enum of supportedDataFormat
s.
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultedRegistryReference<StringDataFormat>
HOCON
static DefaultedRegistryReference<StringDataFormat>
JSON
static DefaultedRegistryReference<DataFormat>
NBT
static DefaultedRegistryReference<StringDataFormat>
SNBT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Registry<DataFormat>
registry()
-
-
-
Field Detail
-
HOCON
public static final DefaultedRegistryReference<StringDataFormat> HOCON
-
JSON
public static final DefaultedRegistryReference<StringDataFormat> JSON
-
SNBT
public static final DefaultedRegistryReference<StringDataFormat> SNBT
-
NBT
public static final DefaultedRegistryReference<DataFormat> NBT
-
-
Method Detail
-
registry
public static Registry<DataFormat> registry()
-
-