Class Tag.TagEntry<T>

java.lang.Object
net.minecraft.tag.Tag.TagEntry<T>
All Implemented Interfaces:
Tag.Entry<T>
Enclosing class:
Tag<T>

public static class Tag.TagEntry<T> extends Object implements Tag.Entry<T>
Mappings:
Namespace Name
official wz$c
intermediary net/minecraft/class_4482$class_4485
named net/minecraft/tag/Tag$TagEntry
  • Field Details

    • id

      @Nullable private final Identifier id
      Mappings:
      Namespace Name Mixin selector
      official a Lwz$c;a:Lpc;
      intermediary field_22230 Lnet/minecraft/class_4482$class_4485;field_22230:Lnet/minecraft/class_1653;
      named id Lnet/minecraft/tag/Tag$TagEntry;id:Lnet/minecraft/util/Identifier;
    • tag

      @Nullable private Tag<T> tag
      Mappings:
      Namespace Name Mixin selector
      official b Lwz$c;b:Lwz;
      intermediary field_22231 Lnet/minecraft/class_4482$class_4485;field_22231:Lnet/minecraft/class_4482;
      named tag Lnet/minecraft/tag/Tag$TagEntry;tag:Lnet/minecraft/tag/Tag;
  • Constructor Details

    • TagEntry

      public TagEntry(Identifier identifier)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwz$c;<init>(Lpc;)V
      intermediary <init> Lnet/minecraft/class_4482$class_4485;<init>(Lnet/minecraft/class_1653;)V
      named <init> Lnet/minecraft/tag/Tag$TagEntry;<init>(Lnet/minecraft/util/Identifier;)V
    • TagEntry

      public TagEntry(Tag<T> tag)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwz$c;<init>(Lwz;)V
      intermediary <init> Lnet/minecraft/class_4482$class_4485;<init>(Lnet/minecraft/class_4482;)V
      named <init> Lnet/minecraft/tag/Tag$TagEntry;<init>(Lnet/minecraft/tag/Tag;)V
  • Method Details

    • applyTagGetter

      public boolean applyTagGetter(Function<Identifier,Tag<T>> function)
      Specified by:
      applyTagGetter in interface Tag.Entry<T>
      Mappings:
      Namespace Name Mixin selector
      official a Lwz$b;a(Ljava/util/function/Function;)Z
      intermediary method_21480 Lnet/minecraft/class_4482$class_4484;method_21480(Ljava/util/function/Function;)Z
      named applyTagGetter Lnet/minecraft/tag/Tag$Entry;applyTagGetter(Ljava/util/function/Function;)Z
    • build

      public void build(Collection<T> collection)
      Specified by:
      build in interface Tag.Entry<T>
      Mappings:
      Namespace Name Mixin selector
      official a Lwz$b;a(Ljava/util/Collection;)V
      intermediary method_21479 Lnet/minecraft/class_4482$class_4484;method_21479(Ljava/util/Collection;)V
      named build Lnet/minecraft/tag/Tag$Entry;build(Ljava/util/Collection;)V
    • getId

      public Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lwz$c;a()Lpc;
      intermediary method_21481 Lnet/minecraft/class_4482$class_4485;method_21481()Lnet/minecraft/class_1653;
      named getId Lnet/minecraft/tag/Tag$TagEntry;getId()Lnet/minecraft/util/Identifier;
    • toJson

      public void toJson(JsonArray jsonArray, Function<T,Identifier> function)
      Specified by:
      toJson in interface Tag.Entry<T>
      Mappings:
      Namespace Name Mixin selector
      official a Lwz$b;a(Lcom/google/gson/JsonArray;Ljava/util/function/Function;)V
      intermediary method_21478 Lnet/minecraft/class_4482$class_4484;method_21478(Lcom/google/gson/JsonArray;Ljava/util/function/Function;)V
      named toJson Lnet/minecraft/tag/Tag$Entry;toJson(Lcom/google/gson/JsonArray;Ljava/util/function/Function;)V