Class EndTag

java.lang.Object
net.md_5.bungee.nbt.type.EndTag
All Implemented Interfaces:
Tag, TypedTag

public class EndTag extends Object implements TypedTag
  • Field Details

    • INSTANCE

      public static final EndTag INSTANCE
  • Constructor Details

    • EndTag

      public EndTag()
  • Method Details

    • read

      public void read(DataInput input, NBTLimiter limiter)
      Description copied from interface: Tag
      Reads the data into this tag.
      Specified by:
      read in interface Tag
      Parameters:
      input - the input to read from
      limiter - the limiter for this read operation
    • write

      public void write(DataOutput output)
      Description copied from interface: Tag
      Writes this tag into a DataOutput.
      Specified by:
      write in interface Tag
      Parameters:
      output - the output to write to
    • getId

      public byte getId()
      Description copied from interface: TypedTag
      Gets the id of this tag's type.
      Specified by:
      getId in interface TypedTag
      Returns:
      the id related to this tag's type
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object