Class RegistryEntryList.Named<T>

java.lang.Object
net.minecraft.util.registry.RegistryEntryList.ListBacked<T>
net.minecraft.util.registry.RegistryEntryList.Named<T>
All Implemented Interfaces:
Iterable<RegistryEntry<T>>, RegistryEntryList<T>
Enclosing interface:
RegistryEntryList<T>

public static class RegistryEntryList.Named<T> extends RegistryEntryList.ListBacked<T>
Mappings:
Namespace Name
official he$c
intermediary net/minecraft/class_6885$class_6888
named net/minecraft/util/registry/RegistryEntryList$Named
  • Field Details

    • registry

      private final Registry<T> registry
      Mappings:
      Namespace Name Mixin selector
      official a Lhe$c;a:Lhm;
      intermediary field_36633 Lnet/minecraft/class_6885$class_6888;field_36633:Lnet/minecraft/class_2378;
      named registry Lnet/minecraft/util/registry/RegistryEntryList$Named;registry:Lnet/minecraft/util/registry/Registry;
    • tag

      private final TagKey<T> tag
      Mappings:
      Namespace Name Mixin selector
      official b Lhe$c;b:Lakz;
      intermediary field_36459 Lnet/minecraft/class_6885$class_6888;field_36459:Lnet/minecraft/class_6862;
      named tag Lnet/minecraft/util/registry/RegistryEntryList$Named;tag:Lnet/minecraft/tag/TagKey;
    • entries

      private List<RegistryEntry<T>> entries
      Mappings:
      Namespace Name Mixin selector
      official c Lhe$c;c:Ljava/util/List;
      intermediary field_36460 Lnet/minecraft/class_6885$class_6888;field_36460:Ljava/util/List;
      named entries Lnet/minecraft/util/registry/RegistryEntryList$Named;entries:Ljava/util/List;
  • Constructor Details

    • Named

      Named(Registry<T> registry, TagKey<T> tag)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lhe$c;<init>(Lhm;Lakz;)V
      intermediary <init> Lnet/minecraft/class_6885$class_6888;<init>(Lnet/minecraft/class_2378;Lnet/minecraft/class_6862;)V
      named <init> Lnet/minecraft/util/registry/RegistryEntryList$Named;<init>(Lnet/minecraft/util/registry/Registry;Lnet/minecraft/tag/TagKey;)V
  • Method Details

    • copyOf

      void copyOf(List<RegistryEntry<T>> entries)
      Mappings:
      Namespace Name Mixin selector
      official b Lhe$c;b(Ljava/util/List;)V
      intermediary method_40250 Lnet/minecraft/class_6885$class_6888;method_40250(Ljava/util/List;)V
      named copyOf Lnet/minecraft/util/registry/RegistryEntryList$Named;copyOf(Ljava/util/List;)V
    • getTag

      public TagKey<T> getTag()
      Mappings:
      Namespace Name Mixin selector
      official e Lhe$c;e()Lakz;
      intermediary method_40251 Lnet/minecraft/class_6885$class_6888;method_40251()Lnet/minecraft/class_6862;
      named getTag Lnet/minecraft/util/registry/RegistryEntryList$Named;getTag()Lnet/minecraft/tag/TagKey;
    • getEntries

      protected List<RegistryEntry<T>> getEntries()
      Specified by:
      getEntries in class RegistryEntryList.ListBacked<T>
      Mappings:
      Namespace Name Mixin selector
      official d Lhe$b;d()Ljava/util/List;
      intermediary method_40249 Lnet/minecraft/class_6885$class_6887;method_40249()Ljava/util/List;
      named getEntries Lnet/minecraft/util/registry/RegistryEntryList$ListBacked;getEntries()Ljava/util/List;
    • getStorage

      public com.mojang.datafixers.util.Either<TagKey<T>,List<RegistryEntry<T>>> getStorage()
      Mappings:
      Namespace Name Mixin selector
      official c Lhe;c()Lcom/mojang/datafixers/util/Either;
      intermediary method_40248 Lnet/minecraft/class_6885;method_40248()Lcom/mojang/datafixers/util/Either;
      named getStorage Lnet/minecraft/util/registry/RegistryEntryList;getStorage()Lcom/mojang/datafixers/util/Either;
    • contains

      public boolean contains(RegistryEntry<T> entry)
      Mappings:
      Namespace Name Mixin selector
      official a Lhe;a(Lhc;)Z
      intermediary method_40241 Lnet/minecraft/class_6885;method_40241(Lnet/minecraft/class_6880;)Z
      named contains Lnet/minecraft/util/registry/RegistryEntryList;contains(Lnet/minecraft/util/registry/RegistryEntry;)Z
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isOf

      public boolean isOf(Registry<T> registry)
      Specified by:
      isOf in interface RegistryEntryList<T>
      Overrides:
      isOf in class RegistryEntryList.ListBacked<T>
      Mappings:
      Namespace Name Mixin selector
      official a Lhe;a(Lhm;)Z
      intermediary method_40560 Lnet/minecraft/class_6885;method_40560(Lnet/minecraft/class_2378;)Z
      named isOf Lnet/minecraft/util/registry/RegistryEntryList;isOf(Lnet/minecraft/util/registry/Registry;)Z