Class NBTData

java.lang.Object
valorless.rarespawns.datamodels.NBTData

public class NBTData extends Object
Represents NBT (Named Binary Tag) data for RareSpawns items. Stores the value and type of an NBT tag for use in item metadata.
  • Field Details

    • value

      public String value
      The value of the NBT tag (e.g., string, integer, boolean, etc.).
    • type

      public String type
      The type of the NBT tag (e.g., "string", "integer", "boolean").
  • Constructor Details

    • NBTData

      public NBTData(String value, String type)
      Constructs an NBTData object with the specified value and type.
      Parameters:
      value - The value of the NBT tag.
      type - The type of the NBT tag.