Package net.minecraft.nbt
Interface TagType<T extends Tag>
- All Known Subinterfaces:
TagType.StaticSize<T>
,TagType.VariableSize<T>
public interface TagType<T extends Tag>
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
TagType.StaticSize<T extends Tag>
static interface
TagType.VariableSize<T extends Tag>
-
Method Summary
Modifier and TypeMethodDescriptioncreateInvalid
(int p_129378_) getName()
default boolean
isValue()
load
(DataInput p_129379_, NbtAccounter p_129381_) parse
(DataInput p_197578_, StreamTagVisitor p_197579_, NbtAccounter p_301717_) default void
parseRoot
(DataInput p_197581_, StreamTagVisitor p_197582_, NbtAccounter p_301739_) void
skip
(DataInput p_197575_, int p_301713_, NbtAccounter p_301696_) void
skip
(DataInput p_197576_, NbtAccounter p_301718_)
-
Method Details
-
load
- Throws:
IOException
-
parse
StreamTagVisitor.ValueResult parse(DataInput p_197578_, StreamTagVisitor p_197579_, NbtAccounter p_301717_) throws IOException - Throws:
IOException
-
parseRoot
default void parseRoot(DataInput p_197581_, StreamTagVisitor p_197582_, NbtAccounter p_301739_) throws IOException - Throws:
IOException
-
skip
- Throws:
IOException
-
skip
- Throws:
IOException
-
isValue
default boolean isValue() -
getName
String getName() -
getPrettyName
String getPrettyName() -
createInvalid
-