Search in sources :

Example 1 with NbtDataFormat

use of org.lanternpowered.server.data.persistence.nbt.NbtDataFormat in project LanternServer by LanternPowered.

the class DataFormatRegistryModule method registerDefaults.

@Override
public void registerDefaults() {
    register(new HoconDataFormat("hocon"));
    register(new JsonDataFormat("json"));
    register(new NbtDataFormat("nbt"));
}
Also used : JsonDataFormat(org.lanternpowered.server.data.persistence.json.JsonDataFormat) NbtDataFormat(org.lanternpowered.server.data.persistence.nbt.NbtDataFormat) HoconDataFormat(org.lanternpowered.server.data.persistence.HoconDataFormat)

Aggregations

HoconDataFormat (org.lanternpowered.server.data.persistence.HoconDataFormat)1 JsonDataFormat (org.lanternpowered.server.data.persistence.json.JsonDataFormat)1 NbtDataFormat (org.lanternpowered.server.data.persistence.nbt.NbtDataFormat)1