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 interfaceTagType.StaticSize<T extends Tag>static interfaceTagType.VariableSize<T extends Tag> -
Method Summary
Modifier and TypeMethodDescriptioncreateInvalid(int id) getName()load(DataInput input, NbtAccounter accounter) parse(DataInput input, StreamTagVisitor visitor, NbtAccounter accounter) default voidparseRoot(DataInput input, StreamTagVisitor visitor, NbtAccounter nbtAccounter) voidskip(DataInput input, int entries, NbtAccounter accounter) voidskip(DataInput input, NbtAccounter accounter)
-
Method Details
-
load
- Throws:
IOException
-
parse
StreamTagVisitor.ValueResult parse(DataInput input, StreamTagVisitor visitor, NbtAccounter accounter) throws IOException - Throws:
IOException
-
parseRoot
default void parseRoot(DataInput input, StreamTagVisitor visitor, NbtAccounter nbtAccounter) throws IOException - Throws:
IOException
-
skip
- Throws:
IOException
-
skip
- Throws:
IOException
-
getName
String getName() -
getPrettyName
String getPrettyName() -
createInvalid
-