Class RegistryBuilder.EntryListCreatingLookup<T>

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

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

    • entryOwner

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

    • EntryListCreatingLookup

      protected EntryListCreatingLookup(RegistryEntryOwner<T> entryOwner)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lht$c;<init>(Lhg;)V
      intermediary <init> Lnet/minecraft/class_7877$class_7880;<init>(Lnet/minecraft/class_7876;)V
      named <init> Lnet/minecraft/registry/RegistryBuilder$EntryListCreatingLookup;<init>(Lnet/minecraft/registry/entry/RegistryEntryOwner;)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
      official a Lhe;a(Lanv;)Ljava/util/Optional;
      intermediary method_46733 Lnet/minecraft/class_7871;method_46733(Lnet/minecraft/class_6862;)Ljava/util/Optional;
      named getOptional Lnet/minecraft/registry/RegistryEntryLookup;getOptional(Lnet/minecraft/registry/tag/TagKey;)Ljava/util/Optional;