类 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 mx
    intermediary net/minecraft/class_2491
    named net/minecraft/nbt/EndTag
    • 字段详细资料

      • field_33193

        private static final int field_33193
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official c Lmx;c:I
        intermediary field_33193 Lnet/minecraft/class_2491;field_33193:I
        named field_33193 Lnet/minecraft/nbt/EndTag;field_33193:I
      • TYPE

        public static final NbtType<EndTag> TYPE
        Mappings:
        Namespace Name Mixin selector
        official a Lmx;a:Lnp;
        intermediary field_21032 Lnet/minecraft/class_2491;field_21032:Lnet/minecraft/class_4614;
        named TYPE Lnet/minecraft/nbt/EndTag;TYPE:Lnet/minecraft/nbt/NbtType;
      • INSTANCE

        public static final EndTag INSTANCE
        Mappings:
        Namespace Name Mixin selector
        official b Lmx;b:Lmx;
        intermediary field_21033 Lnet/minecraft/class_2491;field_21033:Lnet/minecraft/class_2491;
        named INSTANCE Lnet/minecraft/nbt/EndTag;INSTANCE:Lnet/minecraft/nbt/EndTag;
    • 构造器详细资料

      • EndTag

        private EndTag()
    • 方法详细资料

      • write

        public void write​(DataOutput output)
                   throws IOException
        指定者:
        write 在接口中 Tag
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official a Lnn;a(Ljava/io/DataOutput;)V
        intermediary method_10713 Lnet/minecraft/class_2520;method_10713(Ljava/io/DataOutput;)V
        named write Lnet/minecraft/nbt/Tag;write(Ljava/io/DataOutput;)V
      • getType

        public byte getType()
        Gets the type of this NBT element.
        指定者:
        getType 在接口中 Tag
        返回:
        the type
        Mappings:
        Namespace Name Mixin selector
        official a Lnn;a()B
        intermediary method_10711 Lnet/minecraft/class_2520;method_10711()B
        named getType Lnet/minecraft/nbt/Tag;getType()B
      • 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 b Lnn;b()Lnp;
        intermediary method_23258 Lnet/minecraft/class_2520;method_23258()Lnet/minecraft/class_4614;
        named getNbtType Lnet/minecraft/nbt/Tag;getNbtType()Lnet/minecraft/nbt/NbtType;
      • toString

        public String toString()
        指定者:
        toString 在接口中 Tag
        覆盖:
        toString 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official toString Lnn;toString()Ljava/lang/String;
        intermediary toString Lnet/minecraft/class_2520;toString()Ljava/lang/String;
        named toString Lnet/minecraft/nbt/Tag;toString()Ljava/lang/String;
      • copy

        public EndTag copy()
        从接口复制的说明: Tag
        Copies this NBT element.
        指定者:
        copy 在接口中 Tag
        返回:
        the copied element
        Mappings:
        Namespace Name Mixin selector
        official d Lmx;d()Lmx;
        intermediary method_10586 Lnet/minecraft/class_2491;method_10586()Lnet/minecraft/class_2491;
        named copy Lnet/minecraft/nbt/EndTag;copy()Lnet/minecraft/nbt/EndTag;
      • accept

        public void accept​(NbtElementVisitor visitor)
        指定者:
        accept 在接口中 Tag
        Mappings:
        Namespace Name Mixin selector
        official a Lnn;a(Lnr;)V
        intermediary method_32289 Lnet/minecraft/class_2520;method_32289(Lnet/minecraft/class_5627;)V
        named accept Lnet/minecraft/nbt/Tag;accept(Lnet/minecraft/nbt/visitor/NbtElementVisitor;)V