Class NBTBase

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  NBTBase.NBTPrimitive  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String[] NBT_TYPES  
    • Constructor Summary

      Constructors 
      Constructor Description
      NBTBase()  
    • Field Detail

      • NBT_TYPES

        public static final java.lang.String[] NBT_TYPES
    • Constructor Detail

      • NBTBase

        public NBTBase()
    • Method Detail

      • toString

        public abstract java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getId

        public abstract byte getId()
      • createNewByType

        protected static NBTBase createNewByType​(byte id)
        + Creates a new NBTBase object that corresponds with the passed in id.
      • copy

        public abstract NBTBase copy()
      • hasNoTags

        public boolean hasNoTags()
        + Return whether this compound has no tags.
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getString

        protected java.lang.String getString()