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_302376_) default void
parseRoot
(DataInput p_197581_, StreamTagVisitor p_197582_, NbtAccounter p_302373_) void
skip
(DataInput p_197576_, int p_197577_, NbtAccounter p_302319_) void
skip
(DataInput p_197575_, NbtAccounter p_302391_)
-
Method Details
-
load
- Throws:
IOException
-
parse
StreamTagVisitor.ValueResult parse(DataInput p_197578_, StreamTagVisitor p_197579_, NbtAccounter p_302376_) throws IOException - Throws:
IOException
-
parseRoot
default void parseRoot(DataInput p_197581_, StreamTagVisitor p_197582_, NbtAccounter p_302373_) throws IOException - Throws:
IOException
-
skip
- Throws:
IOException
-
skip
- Throws:
IOException
-
isValue
default boolean isValue() -
getName
String getName() -
getPrettyName
String getPrettyName() -
createInvalid
-