Class AbstractListTag<T extends Tag>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<T>
net.minecraft.nbt.AbstractListTag<T>
All Implemented Interfaces:
Iterable<T>, Collection<T>, List<T>, Tag
Direct Known Subclasses:
ByteArrayTag, IntArrayTag, ListTag, LongArrayTag

public abstract class AbstractListTag<T extends Tag>
extends AbstractList<T>
implements Tag
Mappings:
Namespace Name
official mp
intermediary net/minecraft/class_2483
named net/minecraft/nbt/AbstractListTag
  • Constructor Details

    • AbstractListTag

      public AbstractListTag()
  • Method Details

    • set

      public abstract T set​(int int2, T t)
      Specified by:
      set in interface List<T extends Tag>
      Overrides:
      set in class AbstractList<T extends Tag>
      Mappings:
      Namespace Name Mixin selector
      official d Lmp;d(ILni;)Lni;
      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)
      Specified by:
      add in interface List<T extends Tag>
      Overrides:
      add in class AbstractList<T extends Tag>
      Mappings:
      Namespace Name Mixin selector
      official c Lmp;c(ILni;)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)
      Specified by:
      remove in interface List<T extends Tag>
      Overrides:
      remove in class AbstractList<T extends Tag>
      Mappings:
      Namespace Name Mixin selector
      official c Lmp;c(I)Lni;
      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;
    • setTag

      public abstract boolean setTag​(int index, Tag tag)
      Mappings:
      Namespace Name Mixin selector
      official a Lmp;a(ILni;)Z
      intermediary method_10535 Lnet/minecraft/class_2483;method_10535(ILnet/minecraft/class_2520;)Z
      named setTag Lnet/minecraft/nbt/AbstractListTag;setTag(ILnet/minecraft/nbt/Tag;)Z
    • addTag

      public abstract boolean addTag​(int index, Tag tag)
      Mappings:
      Namespace Name Mixin selector
      official b Lmp;b(ILni;)Z
      intermediary method_10533 Lnet/minecraft/class_2483;method_10533(ILnet/minecraft/class_2520;)Z
      named addTag Lnet/minecraft/nbt/AbstractListTag;addTag(ILnet/minecraft/nbt/Tag;)Z
    • getElementType

      public abstract byte getElementType()
      Mappings:
      Namespace Name Mixin selector
      official e_ Lmp;e_()B
      intermediary method_10601 Lnet/minecraft/class_2483;method_10601()B
      named getElementType Lnet/minecraft/nbt/AbstractListTag;getElementType()B