Class Tag.ObjectEntry

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

private static class Tag.ObjectEntry extends Object implements Tag.Entry
Mappings:
Namespace Name
official aie$c
intermediary net/minecraft/class_3494$class_5122
named net/minecraft/tag/Tag$ObjectEntry
  • Field Details

    • id

      private final Identifier id
      Mappings:
      Namespace Name Mixin selector
      official a Laie$c;a:Lyt;
      intermediary field_23689 Lnet/minecraft/class_3494$class_5122;field_23689:Lnet/minecraft/class_2960;
      named id Lnet/minecraft/tag/Tag$ObjectEntry;id:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • ObjectEntry

      public ObjectEntry(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laie$c;<init>(Lyt;)V
      intermediary <init> Lnet/minecraft/class_3494$class_5122;<init>(Lnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/tag/Tag$ObjectEntry;<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 Laie$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 Laie$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
    • canAdd

      public boolean canAdd(Predicate<Identifier> objectExistsTest, Predicate<Identifier> tagExistsTest)
      Specified by:
      canAdd in interface Tag.Entry
      Mappings:
      Namespace Name Mixin selector
      official a Laie$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 canAdd Lnet/minecraft/tag/Tag$Entry;canAdd(Ljava/util/function/Predicate;Ljava/util/function/Predicate;)Z
    • toString

      public String toString()
      Overrides:
      toString in class Object