Class TagSettings

java.lang.Object
net.lenni0451.imnbt.TagSettings

public class TagSettings extends Object
The formatType, endianType and compressionType are only used to select default values when saving a tag.
If a tag is newly created, the default values are used when showing the save dialog.
  • Field Details

    • rootName

      public String rootName
      The name of the root tag.
    • formatType

      public FormatType formatType
      The current format of the tag.
    • endianType

      public EndianType endianType
      The current endian type of the tag.
    • compressionType

      public CompressionType compressionType
      The current compression type of the tag.
    • namelessRoot

      public boolean namelessRoot
      Minecraft 1.20.2 introduced a new tag type without a name.
      This is only used in networking.
    • readExtraData

      public boolean readExtraData
      If extra data after the root tag should be read.
      This is only used when reading a tag.
  • Constructor Details

    • TagSettings

      public TagSettings()