Class RegistryBuilder.EntryListCreatingLookup<T>

java.lang.Object
net.minecraft.registry.RegistryBuilder.EntryListCreatingLookup<T>
All Implemented Interfaces:
RegistryEntryLookup<T>
Direct Known Subclasses:
RegistryBuilder.StandAloneEntryCreatingLookup, RegistryBuilder.UntaggedLookup
Enclosing class:
RegistryBuilder

private abstract static class RegistryBuilder.EntryListCreatingLookup<T> extends Object implements RegistryEntryLookup<T>
Mappings:
Namespace Name
named net/minecraft/registry/RegistryBuilder$EntryListCreatingLookup
intermediary net/minecraft/class_7877$class_7880
official kg$c
  • Field Details

    • entryOwner

      protected final RegistryEntryOwner<T> entryOwner
      Mappings:
      Namespace Name Mixin selector
      named entryOwner Lnet/minecraft/registry/RegistryBuilder$EntryListCreatingLookup;entryOwner:Lnet/minecraft/registry/entry/RegistryEntryOwner;
      intermediary field_40945 Lnet/minecraft/class_7877$class_7880;field_40945:Lnet/minecraft/class_7876;
      official d Lkg$c;d:Ljt;
  • Constructor Details

    • EntryListCreatingLookup

      protected EntryListCreatingLookup(RegistryEntryOwner<T> entryOwner)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/registry/RegistryBuilder$EntryListCreatingLookup;<init>(Lnet/minecraft/registry/entry/RegistryEntryOwner;)V
      intermediary <init> Lnet/minecraft/class_7877$class_7880;<init>(Lnet/minecraft/class_7876;)V
      official <init> Lkg$c;<init>(Ljt;)V
  • Method Details

    • getOptional

      public Optional<RegistryEntryList.Named<T>> getOptional(TagKey<T> tag)
      Specified by:
      getOptional in interface RegistryEntryLookup<T>
      Mappings:
      Namespace Name Mixin selector
      named getOptional Lnet/minecraft/registry/RegistryEntryLookup;getOptional(Lnet/minecraft/registry/tag/TagKey;)Ljava/util/Optional;
      intermediary method_46733 Lnet/minecraft/class_7871;method_46733(Lnet/minecraft/class_6862;)Ljava/util/Optional;
      official a Ljr;a(Layk;)Ljava/util/Optional;