Package net.minecraft.nbt
Interface Tag
- All Known Implementing Classes:
ByteArrayTag
,ByteTag
,CollectionTag
,CompoundTag
,DoubleTag
,EndTag
,FloatTag
,IntArrayTag
,IntTag
,ListTag
,LongArrayTag
,LongTag
,NumericTag
,ShortTag
,StringTag
public interface Tag
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
-
Method Summary
Modifier and TypeMethodDescriptionaccept
(StreamTagVisitor p_197572_) void
accept
(TagVisitor p_178208_) default void
acceptAsRoot
(StreamTagVisitor p_197574_) copy()
default String
byte
getId()
TagType<?>
getType()
int
toString()
void
write
(DataOutput p_129329_)
-
Field Details
-
OBJECT_HEADER
static final int OBJECT_HEADER- See Also:
-
ARRAY_HEADER
static final int ARRAY_HEADER- See Also:
-
OBJECT_REFERENCE
static final int OBJECT_REFERENCE- See Also:
-
STRING_SIZE
static final int STRING_SIZE- See Also:
-
TAG_END
static final byte TAG_END- See Also:
-
TAG_BYTE
static final byte TAG_BYTE- See Also:
-
TAG_SHORT
static final byte TAG_SHORT- See Also:
-
TAG_INT
static final byte TAG_INT- See Also:
-
TAG_LONG
static final byte TAG_LONG- See Also:
-
TAG_FLOAT
static final byte TAG_FLOAT- See Also:
-
TAG_DOUBLE
static final byte TAG_DOUBLE- See Also:
-
TAG_BYTE_ARRAY
static final byte TAG_BYTE_ARRAY- See Also:
-
TAG_STRING
static final byte TAG_STRING- See Also:
-
TAG_LIST
static final byte TAG_LIST- See Also:
-
TAG_COMPOUND
static final byte TAG_COMPOUND- See Also:
-
TAG_INT_ARRAY
static final byte TAG_INT_ARRAY- See Also:
-
TAG_LONG_ARRAY
static final byte TAG_LONG_ARRAY- See Also:
-
TAG_ANY_NUMERIC
static final byte TAG_ANY_NUMERIC- See Also:
-
MAX_DEPTH
static final int MAX_DEPTH- See Also:
-
-
Method Details