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
Nested ClassesModifier 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_, int p_129380_, NbtAccounter p_129381_) parse
(DataInput p_197578_, StreamTagVisitor p_197579_) default void
parseRoot
(DataInput p_197581_, StreamTagVisitor p_197582_) void
void
-
Method Details
-
load
- Throws:
IOException
-
parse
StreamTagVisitor.ValueResult parse(DataInput p_197578_, StreamTagVisitor p_197579_) throws IOException - Throws:
IOException
-
parseRoot
- Throws:
IOException
-
skip
- Throws:
IOException
-
skip
- Throws:
IOException
-
isValue
default boolean isValue() -
getName
String getName() -
getPrettyName
String getPrettyName() -
createInvalid
-