类 AbstractListTag<T extends Tag>

  • 所有已实现的接口:
    Iterable<T>, Collection<T>, List<T>, Tag
    直接已知子类:
    ByteArrayTag, IntArrayTag, ListTag, LongArrayTag

    public abstract class AbstractListTag<T extends Tag>
    extends AbstractList<T>
    implements Tag
    Represents an abstraction of a mutable NBT list which holds elements of the same type.
    Mappings:
    Namespace Name
    official mu
    intermediary net/minecraft/class_2483
    named net/minecraft/nbt/AbstractListTag
    • 构造器详细资料

      • AbstractListTag

        public AbstractListTag()
    • 方法详细资料

      • set

        public abstract T set​(int int2,
                              T t)
        指定者:
        set 在接口中 List<T extends Tag>
        覆盖:
        set 在类中 AbstractList<T extends Tag>
        Mappings:
        Namespace Name Mixin selector
        official d Lmu;d(ILnn;)Lnn;
        intermediary method_10606 Lnet/minecraft/class_2483;method_10606(ILnet/minecraft/class_2520;)Lnet/minecraft/class_2520;
        named set Lnet/minecraft/nbt/AbstractListTag;set(ILnet/minecraft/nbt/Tag;)Lnet/minecraft/nbt/Tag;
      • add

        public abstract void add​(int int2,
                                 T t)
        指定者:
        add 在接口中 List<T extends Tag>
        覆盖:
        add 在类中 AbstractList<T extends Tag>
        Mappings:
        Namespace Name Mixin selector
        official c Lmu;c(ILnn;)V
        intermediary method_10531 Lnet/minecraft/class_2483;method_10531(ILnet/minecraft/class_2520;)V
        named add Lnet/minecraft/nbt/AbstractListTag;add(ILnet/minecraft/nbt/Tag;)V
      • remove

        public abstract T remove​(int int2)
        指定者:
        remove 在接口中 List<T extends Tag>
        覆盖:
        remove 在类中 AbstractList<T extends Tag>
        Mappings:
        Namespace Name Mixin selector
        official c Lmu;c(I)Lnn;
        intermediary method_10536 Lnet/minecraft/class_2483;method_10536(I)Lnet/minecraft/class_2520;
        named remove Lnet/minecraft/nbt/AbstractListTag;remove(I)Lnet/minecraft/nbt/Tag;
      • setElement

        public abstract boolean setElement​(int index,
                                           Tag element)
        Mappings:
        Namespace Name Mixin selector
        official a Lmu;a(ILnn;)Z
        intermediary method_10535 Lnet/minecraft/class_2483;method_10535(ILnet/minecraft/class_2520;)Z
        named setElement Lnet/minecraft/nbt/AbstractListTag;setElement(ILnet/minecraft/nbt/Tag;)Z
      • addElement

        public abstract boolean addElement​(int index,
                                           Tag element)
        Mappings:
        Namespace Name Mixin selector
        official b Lmu;b(ILnn;)Z
        intermediary method_10533 Lnet/minecraft/class_2483;method_10533(ILnet/minecraft/class_2520;)Z
        named addElement Lnet/minecraft/nbt/AbstractListTag;addElement(ILnet/minecraft/nbt/Tag;)Z
      • getHeldType

        public abstract byte getHeldType()
        Gets the type of element that this list holds.
        返回:
        the type of element that this list holds
        Mappings:
        Namespace Name Mixin selector
        official d_ Lmu;d_()B
        intermediary method_10601 Lnet/minecraft/class_2483;method_10601()B
        named getHeldType Lnet/minecraft/nbt/AbstractListTag;getHeldType()B