Class ReloadableRegistries.ReloadableWrapperLookup

java.lang.Object
net.minecraft.registry.ReloadableRegistries.ReloadableWrapperLookup
All Implemented Interfaces:
RegistryWrapper.WrapperLookup
Enclosing class:
ReloadableRegistries

private static class ReloadableRegistries.ReloadableWrapperLookup extends Object implements RegistryWrapper.WrapperLookup
Mappings:
Namespace Name
named net/minecraft/registry/ReloadableRegistries$ReloadableWrapperLookup
intermediary net/minecraft/class_9383$class_9384
official alb$a
  • Field Details

    • registryManager

      private final DynamicRegistryManager registryManager
      Mappings:
      Namespace Name Mixin selector
      named registryManager Lnet/minecraft/registry/ReloadableRegistries$ReloadableWrapperLookup;registryManager:Lnet/minecraft/registry/DynamicRegistryManager;
      intermediary field_49919 Lnet/minecraft/class_9383$class_9384;field_49919:Lnet/minecraft/class_5455;
      official a Lalb$a;a:Lka;
  • Constructor Details

    • ReloadableWrapperLookup

      ReloadableWrapperLookup(DynamicRegistryManager registryManager)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/registry/ReloadableRegistries$ReloadableWrapperLookup;<init>(Lnet/minecraft/registry/DynamicRegistryManager;)V
      intermediary <init> Lnet/minecraft/class_9383$class_9384;<init>(Lnet/minecraft/class_5455;)V
      official <init> Lalb$a;<init>(Lka;)V
  • Method Details

    • streamAllRegistryKeys

      public Stream<RegistryKey<? extends Registry<?>>> streamAllRegistryKeys()
      Specified by:
      streamAllRegistryKeys in interface RegistryWrapper.WrapperLookup
      Mappings:
      Namespace Name Mixin selector
      named streamAllRegistryKeys Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;streamAllRegistryKeys()Ljava/util/stream/Stream;
      intermediary method_55282 Lnet/minecraft/class_7225$class_7874;method_55282()Ljava/util/stream/Stream;
      official a Ljo$a;a()Ljava/util/stream/Stream;
    • getOptionalWrapper

      public <T> Optional<RegistryWrapper.Impl<T>> getOptionalWrapper(RegistryKey<? extends Registry<? extends T>> registryRef)
      Specified by:
      getOptionalWrapper in interface RegistryWrapper.WrapperLookup
      Mappings:
      Namespace Name Mixin selector
      named getOptionalWrapper Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;getOptionalWrapper(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
      intermediary method_46759 Lnet/minecraft/class_7225$class_7874;method_46759(Lnet/minecraft/class_5321;)Ljava/util/Optional;
      official a Ljo$a;a(Lakq;)Ljava/util/Optional;