Class NbtType

java.lang.Object
net.fabricmc.fabric.api.util.NbtType

public final class NbtType extends Object
NBT type ID constants. Useful for filtering by value type in a few cases.

For the current list of types, check with

invalid @link
NbtElement#TYPES
.
See Also:
  • NbtCompound.contains(String, int)
  • NbtTypes.byId(int)