Class NbtRegistryLoader

java.lang.Object
org.geysermc.geyser.registry.loader.NbtRegistryLoader
All Implemented Interfaces:
RegistryLoader<String,​com.nukkitx.nbt.NbtMap>

public class NbtRegistryLoader extends Object implements RegistryLoader<String,​com.nukkitx.nbt.NbtMap>
Loads NBT data from the given resource path.
  • Constructor Details

    • NbtRegistryLoader

      public NbtRegistryLoader()
  • Method Details

    • load

      public com.nukkitx.nbt.NbtMap load(String input)
      Description copied from interface: RegistryLoader
      Loads an output from the given input.
      Specified by:
      load in interface RegistryLoader<String,​com.nukkitx.nbt.NbtMap>
      Parameters:
      input - the input
      Returns:
      the output