Class RegistryEntryList.Direct<T>

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

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

    • entries

      private final List<RegistryEntry<T>> entries
      Mappings:
      Namespace Name Mixin selector
      official a Lhe$a;a:Ljava/util/List;
      intermediary field_36457 Lnet/minecraft/class_6885$class_6886;field_36457:Ljava/util/List;
      named entries Lnet/minecraft/util/registry/RegistryEntryList$Direct;entries:Ljava/util/List;
    • entrySet

      private Set<RegistryEntry<T>> entrySet
      Mappings:
      Namespace Name Mixin selector
      official b Lhe$a;b:Ljava/util/Set;
      intermediary field_36458 Lnet/minecraft/class_6885$class_6886;field_36458:Ljava/util/Set;
      named entrySet Lnet/minecraft/util/registry/RegistryEntryList$Direct;entrySet:Ljava/util/Set;
  • Constructor Details

    • Direct

      Direct(List<RegistryEntry<T>> entries)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lhe$a;<init>(Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_6885$class_6886;<init>(Ljava/util/List;)V
      named <init> Lnet/minecraft/util/registry/RegistryEntryList$Direct;<init>(Ljava/util/List;)V
  • Method Details

    • 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