Class RequiredTagList.TagWrapper<T>

java.lang.Object
net.minecraft.tag.RequiredTagList.TagWrapper<T>
All Implemented Interfaces:
Tag<T>, Tag.Identified<T>
Enclosing class:
RequiredTagList<T>

private static class RequiredTagList.TagWrapper<T> extends Object implements Tag.Identified<T>
Mappings:
Namespace Name
official afy$a
intermediary net/minecraft/class_5120$class_5121
named net/minecraft/tag/RequiredTagList$TagWrapper
  • Field Details

    • delegate

      @Nullable private @Nullable Tag<T> delegate
      Mappings:
      Namespace Name Mixin selector
      official b Lafy$a;b:Laga;
      intermediary field_23685 Lnet/minecraft/class_5120$class_5121;field_23685:Lnet/minecraft/class_3494;
      named delegate Lnet/minecraft/tag/RequiredTagList$TagWrapper;delegate:Lnet/minecraft/tag/Tag;
    • id

      protected final Identifier id
      Mappings:
      Namespace Name Mixin selector
      official a Lafy$a;a:Lww;
      intermediary field_23684 Lnet/minecraft/class_5120$class_5121;field_23684:Lnet/minecraft/class_2960;
      named id Lnet/minecraft/tag/RequiredTagList$TagWrapper;id:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • TagWrapper

      TagWrapper(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lafy$a;<init>(Lww;)V
      intermediary <init> Lnet/minecraft/class_5120$class_5121;<init>(Lnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/tag/RequiredTagList$TagWrapper;<init>(Lnet/minecraft/util/Identifier;)V
  • Method Details

    • getId

      public Identifier getId()
      Specified by:
      getId in interface Tag.Identified<T>
      Mappings:
      Namespace Name Mixin selector
      official a Laga$e;a()Lww;
      intermediary method_26791 Lnet/minecraft/class_3494$class_5123;method_26791()Lnet/minecraft/class_2960;
      named getId Lnet/minecraft/tag/Tag$Identified;getId()Lnet/minecraft/util/Identifier;
    • get

      private Tag<T> get()
      Mappings:
      Namespace Name Mixin selector
      official c Lafy$a;c()Laga;
      intermediary method_26776 Lnet/minecraft/class_5120$class_5121;method_26776()Lnet/minecraft/class_3494;
      named get Lnet/minecraft/tag/RequiredTagList$TagWrapper;get()Lnet/minecraft/tag/Tag;
    • updateDelegate

      void updateDelegate(Function<Identifier,​Tag<T>> tagFactory)
      Mappings:
      Namespace Name Mixin selector
      official a Lafy$a;a(Ljava/util/function/Function;)V
      intermediary method_26775 Lnet/minecraft/class_5120$class_5121;method_26775(Ljava/util/function/Function;)V
      named updateDelegate Lnet/minecraft/tag/RequiredTagList$TagWrapper;updateDelegate(Ljava/util/function/Function;)V
    • contains

      public boolean contains(T entry)
      Specified by:
      contains in interface Tag<T>
      Mappings:
      Namespace Name Mixin selector
      official a Laga;a(Ljava/lang/Object;)Z
      intermediary method_15141 Lnet/minecraft/class_3494;method_15141(Ljava/lang/Object;)Z
      named contains Lnet/minecraft/tag/Tag;contains(Ljava/lang/Object;)Z
    • values

      public List<T> values()
      Specified by:
      values in interface Tag<T>
      Mappings:
      Namespace Name Mixin selector
      official b Laga;b()Ljava/util/List;
      intermediary method_15138 Lnet/minecraft/class_3494;method_15138()Ljava/util/List;
      named values Lnet/minecraft/tag/Tag;values()Ljava/util/List;