Class ContextSwappableRegistryLookup.EntryLookupImpl

java.lang.Object
net.minecraft.registry.ContextSwappableRegistryLookup.EntryLookupImpl
All Implemented Interfaces:
RegistryEntryOwner<Object>, RegistryEntryLookup<Object>
Enclosing class:
ContextSwappableRegistryLookup

private class ContextSwappableRegistryLookup.EntryLookupImpl extends Object implements RegistryEntryLookup<Object>, RegistryEntryOwner<Object>
Mappings:
Namespace Name
named net/minecraft/registry/ContextSwappableRegistryLookup$EntryLookupImpl
intermediary net/minecraft/class_10676$class_10677
official bae$a
  • Constructor Details Link icon

    • EntryLookupImpl Link icon

      EntryLookupImpl()
  • Method Details Link icon

    • getOptional Link icon

      Specified by:
      getOptional in interface RegistryEntryLookup<Object>
      Mappings:
      Namespace Name Mixin selector
      named getOptional Lnet/minecraft/registry/RegistryEntryLookup;getOptional(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
      intermediary method_46746 Lnet/minecraft/class_7871;method_46746(Lnet/minecraft/class_5321;)Ljava/util/Optional;
      official a Ljh;a(Lalq;)Ljava/util/Optional;
    • getOrThrow Link icon

      public RegistryEntry.Reference<Object> getOrThrow(RegistryKey<Object> key)
      Specified by:
      getOrThrow in interface RegistryEntryLookup<Object>
      Mappings:
      Namespace Name Mixin selector
      named getOrThrow Lnet/minecraft/registry/RegistryEntryLookup;getOrThrow(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/registry/entry/RegistryEntry$Reference;
      intermediary method_46747 Lnet/minecraft/class_7871;method_46747(Lnet/minecraft/class_5321;)Lnet/minecraft/class_6880$class_6883;
      official b Ljh;b(Lalq;)Ljg$c;
    • getOrComputeEntry Link icon

      private RegistryEntry.Reference<Object> getOrComputeEntry(RegistryKey<Object> key)
      Mappings:
      Namespace Name Mixin selector
      named getOrComputeEntry Lnet/minecraft/registry/ContextSwappableRegistryLookup$EntryLookupImpl;getOrComputeEntry(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/registry/entry/RegistryEntry$Reference;
      intermediary method_67096 Lnet/minecraft/class_10676$class_10677;method_67096(Lnet/minecraft/class_5321;)Lnet/minecraft/class_6880$class_6883;
      official c Lbae$a;c(Lalq;)Ljg$c;
    • getOptional Link icon

      public Optional<RegistryEntryList.Named<Object>> getOptional(TagKey<Object> tag)
      Specified by:
      getOptional in interface RegistryEntryLookup<Object>
      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 Ljh;a(Layc;)Ljava/util/Optional;
    • getOrThrow Link icon

      public RegistryEntryList.Named<Object> getOrThrow(TagKey<Object> tag)
      Specified by:
      getOrThrow in interface RegistryEntryLookup<Object>
      Mappings:
      Namespace Name Mixin selector
      named getOrThrow Lnet/minecraft/registry/RegistryEntryLookup;getOrThrow(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/registry/entry/RegistryEntryList$Named;
      intermediary method_46735 Lnet/minecraft/class_7871;method_46735(Lnet/minecraft/class_6862;)Lnet/minecraft/class_6885$class_6888;
      official b Ljh;b(Layc;)Ljk$c;
    • getOrComputeTag Link icon

      private RegistryEntryList.Named<Object> getOrComputeTag(TagKey<Object> tag)
      Mappings:
      Namespace Name Mixin selector
      named getOrComputeTag Lnet/minecraft/registry/ContextSwappableRegistryLookup$EntryLookupImpl;getOrComputeTag(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/registry/entry/RegistryEntryList$Named;
      intermediary method_67097 Lnet/minecraft/class_10676$class_10677;method_67097(Lnet/minecraft/class_6862;)Lnet/minecraft/class_6885$class_6888;
      official c Lbae$a;c(Layc;)Ljk$c;
    • asEntryLookup Link icon

      public <T> RegistryEntryLookup<T> asEntryLookup()
      Mappings:
      Namespace Name Mixin selector
      named asEntryLookup Lnet/minecraft/registry/ContextSwappableRegistryLookup$EntryLookupImpl;asEntryLookup()Lnet/minecraft/registry/RegistryEntryLookup;
      intermediary method_67094 Lnet/minecraft/class_10676$class_10677;method_67094()Lnet/minecraft/class_7871;
      official a Lbae$a;a()Ljh;
    • asEntryOwner Link icon

      public <T> RegistryEntryOwner<T> asEntryOwner()
      Mappings:
      Namespace Name Mixin selector
      named asEntryOwner Lnet/minecraft/registry/ContextSwappableRegistryLookup$EntryLookupImpl;asEntryOwner()Lnet/minecraft/registry/entry/RegistryEntryOwner;
      intermediary method_67095 Lnet/minecraft/class_10676$class_10677;method_67095()Lnet/minecraft/class_7876;
      official b Lbae$a;b()Ljj;