类 EndTag
- java.lang.Object
-
- net.minecraft.nbt.EndTag
-
- 所有已实现的接口:
Tag
public class EndTag extends Object implements Tag
Represents the NBT null value. Defines the end of an NBT compound object, represents nonexistent values in an NBT compound object, and is the type of empty NBT lists.- Mappings:
Namespace Name official mxintermediary net/minecraft/class_2491named net/minecraft/nbt/EndTag
-
-
字段概要
字段 修饰符和类型 字段 说明 private static intfield_33193static EndTagINSTANCEstatic NbtType<EndTag>TYPE-
从接口继承的字段 net.minecraft.nbt.Tag
BYTE_ARRAY_TYPE, BYTE_TYPE, COMPOUND_TYPE, DOUBLE_TYPE, field_33246, field_33247, field_33248, field_33249, field_33264, FLOAT_TYPE, INT_ARRAY_TYPE, INT_TYPE, LIST_TYPE, LONG_ARRAY_TYPE, LONG_TYPE, NULL_TYPE, NUMBER_TYPE, SHORT_TYPE, STRING_TYPE
-
-
构造器概要
构造器 限定符 构造器 说明 privateEndTag()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaccept(NbtElementVisitor visitor)EndTagcopy()Copies this NBT element.NbtType<EndTag>getNbtType()Gets the NBT type definition of this NBT element.bytegetType()Gets the type of this NBT element.StringtoString()voidwrite(DataOutput output)
-
-
-
字段详细资料
-
field_33193
private static final int field_33193
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official cLmx;c:Iintermediary field_33193Lnet/minecraft/class_2491;field_33193:Inamed field_33193Lnet/minecraft/nbt/EndTag;field_33193:I
-
TYPE
public static final NbtType<EndTag> TYPE
- Mappings:
Namespace Name Mixin selector official aLmx;a:Lnp;intermediary field_21032Lnet/minecraft/class_2491;field_21032:Lnet/minecraft/class_4614;named TYPELnet/minecraft/nbt/EndTag;TYPE:Lnet/minecraft/nbt/NbtType;
-
INSTANCE
public static final EndTag INSTANCE
- Mappings:
Namespace Name Mixin selector official bLmx;b:Lmx;intermediary field_21033Lnet/minecraft/class_2491;field_21033:Lnet/minecraft/class_2491;named INSTANCELnet/minecraft/nbt/EndTag;INSTANCE:Lnet/minecraft/nbt/EndTag;
-
-
方法详细资料
-
write
public void write(DataOutput output) throws IOException
- 指定者:
write在接口中Tag- 抛出:
IOException- Mappings:
Namespace Name Mixin selector official aLnn;a(Ljava/io/DataOutput;)Vintermediary method_10713Lnet/minecraft/class_2520;method_10713(Ljava/io/DataOutput;)Vnamed writeLnet/minecraft/nbt/Tag;write(Ljava/io/DataOutput;)V
-
getType
public byte getType()
Gets the type of this NBT element.
-
getNbtType
public NbtType<EndTag> getNbtType()
Gets the NBT type definition of this NBT element.- 指定者:
getNbtType在接口中Tag- 返回:
- the element type definition
- Mappings:
Namespace Name Mixin selector official bLnn;b()Lnp;intermediary method_23258Lnet/minecraft/class_2520;method_23258()Lnet/minecraft/class_4614;named getNbtTypeLnet/minecraft/nbt/Tag;getNbtType()Lnet/minecraft/nbt/NbtType;
-
toString
public String toString()
-
accept
public void accept(NbtElementVisitor visitor)
-
-