Class Tag.CollectionEntry<T>

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

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

    • values

      private final Collection<T> values
      Mappings:
      Namespace Name Mixin selector
      official a Lwz$d;a:Ljava/util/Collection;
      intermediary field_22232 Lnet/minecraft/class_4482$class_4486;field_22232:Ljava/util/Collection;
      named values Lnet/minecraft/tag/Tag$CollectionEntry;values:Ljava/util/Collection;
  • Constructor Details

    • CollectionEntry

      public CollectionEntry(Collection<T> collection)
  • Method Details

    • 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
    • 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
    • getValues

      public Collection<T> getValues()
      Mappings:
      Namespace Name Mixin selector
      official a Lwz$d;a()Ljava/util/Collection;
      intermediary method_21482 Lnet/minecraft/class_4482$class_4486;method_21482()Ljava/util/Collection;
      named getValues Lnet/minecraft/tag/Tag$CollectionEntry;getValues()Ljava/util/Collection;