Interface RegistryWrapper.WrapperLookup

All Known Subinterfaces:
DynamicRegistryManager, DynamicRegistryManager.Immutable
All Known Implementing Classes:
DynamicRegistryManager.ImmutableImpl
Enclosing interface:
RegistryWrapper<T>

public static interface RegistryWrapper.WrapperLookup
Mappings:
Namespace Name
official hg$b
intermediary net/minecraft/class_7225$class_7874
named net/minecraft/registry/RegistryWrapper$WrapperLookup
  • Method Details

    • getOptionalWrapper

      <T> Optional<RegistryWrapper.Impl<T>> getOptionalWrapper(RegistryKey<? extends Registry<? extends T>> registryRef)
      Mappings:
      Namespace Name Mixin selector
      official a Lhg$b;a(Laev;)Ljava/util/Optional;
      intermediary method_46759 Lnet/minecraft/class_7225$class_7874;method_46759(Lnet/minecraft/class_5321;)Ljava/util/Optional;
      named getOptionalWrapper Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;getOptionalWrapper(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
    • getWrapperOrThrow

      default <T> RegistryWrapper.Impl<T> getWrapperOrThrow(RegistryKey<? extends Registry<? extends T>> registryRef)
      Mappings:
      Namespace Name Mixin selector
      official b Lhg$b;b(Laev;)Lhg$c;
      intermediary method_46762 Lnet/minecraft/class_7225$class_7874;method_46762(Lnet/minecraft/class_5321;)Lnet/minecraft/class_7225$class_7226;
      named getWrapperOrThrow Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;getWrapperOrThrow(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/registry/RegistryWrapper$Impl;
    • createRegistryLookup

      default RegistryEntryLookup.RegistryLookup createRegistryLookup()
      Mappings:
      Namespace Name Mixin selector
      official a Lhg$b;a()Lhf$a;
      intermediary method_46758 Lnet/minecraft/class_7225$class_7874;method_46758()Lnet/minecraft/class_7871$class_7872;
      named createRegistryLookup Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;createRegistryLookup()Lnet/minecraft/registry/RegistryEntryLookup$RegistryLookup;
    • of

      Mappings:
      Namespace Name Mixin selector
      official a Lhg$b;a(Ljava/util/stream/Stream;)Lhg$b;
      intermediary method_46761 Lnet/minecraft/class_7225$class_7874;method_46761(Ljava/util/stream/Stream;)Lnet/minecraft/class_7225$class_7874;
      named of Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;of(Ljava/util/stream/Stream;)Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;