Class Tag.TagEntry

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

public static class Tag.TagEntry
extends Object
implements Tag.Entry
Mappings:
Namespace Name
official afc$h
intermediary net/minecraft/class_3494$class_3497
named net/minecraft/tag/Tag$TagEntry
  • Field Details

    • id

      private final Identifier id
      Mappings:
      Namespace Name Mixin selector
      official a Lafc$h;a:Lwb;
      intermediary field_15584 Lnet/minecraft/class_3494$class_3497;field_15584:Lnet/minecraft/class_2960;
      named id Lnet/minecraft/tag/Tag$TagEntry;id:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • TagEntry

      public TagEntry​(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lafc$h;<init>(Lwb;)V
      intermediary <init> Lnet/minecraft/class_3494$class_3497;<init>(Lnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/tag/Tag$TagEntry;<init>(Lnet/minecraft/util/Identifier;)V
  • Method Details

    • resolve

      public <T> boolean resolve​(Function<Identifier,​Tag<T>> tagGetter, Function<Identifier,​T> objectGetter, Consumer<T> collector)
      Specified by:
      resolve in interface Tag.Entry
      Mappings:
      Namespace Name Mixin selector
      official a Lafc$d;a(Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/function/Consumer;)Z
      intermediary method_26790 Lnet/minecraft/class_3494$class_3496;method_26790(Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/function/Consumer;)Z
      named resolve Lnet/minecraft/tag/Tag$Entry;resolve(Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/function/Consumer;)Z
    • addToJson

      public void addToJson​(JsonArray json)
      Specified by:
      addToJson in interface Tag.Entry
      Mappings:
      Namespace Name Mixin selector
      official a Lafc$d;a(Lcom/google/gson/JsonArray;)V
      intermediary method_26789 Lnet/minecraft/class_3494$class_3496;method_26789(Lcom/google/gson/JsonArray;)V
      named addToJson Lnet/minecraft/tag/Tag$Entry;addToJson(Lcom/google/gson/JsonArray;)V
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Lafc$h;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_3494$class_3497;toString()Ljava/lang/String;
      named toString Lnet/minecraft/tag/Tag$TagEntry;toString()Ljava/lang/String;
    • method_32832

      public boolean method_32832​(Predicate<Identifier> predicate, Predicate<Identifier> predicate2)
      Specified by:
      method_32832 in interface Tag.Entry
      Mappings:
      Namespace Name Mixin selector
      official a Lafc$d;a(Ljava/util/function/Predicate;Ljava/util/function/Predicate;)Z
      intermediary method_32832 Lnet/minecraft/class_3494$class_3496;method_32832(Ljava/util/function/Predicate;Ljava/util/function/Predicate;)Z
      named method_32832 Lnet/minecraft/tag/Tag$Entry;method_32832(Ljava/util/function/Predicate;Ljava/util/function/Predicate;)Z
    • method_32831

      public void method_32831​(Consumer<Identifier> consumer)
      Specified by:
      method_32831 in interface Tag.Entry
      Mappings:
      Namespace Name Mixin selector
      official a Lafc$d;a(Ljava/util/function/Consumer;)V
      intermediary method_32831 Lnet/minecraft/class_3494$class_3496;method_32831(Ljava/util/function/Consumer;)V
      named method_32831 Lnet/minecraft/tag/Tag$Entry;method_32831(Ljava/util/function/Consumer;)V