Package net.minecraft.registry
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 alp$a
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> Optional
<RegistryWrapper.Impl<T>> getOptionalWrapper
(RegistryKey<? extends Registry<? extends T>> registryRef) Stream
<RegistryKey<? extends Registry<?>>> Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.registry.RegistryWrapper.WrapperLookup
createRegistryLookup, getOps, getWrapperOrThrow
-
Field Details
-
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
Lalp$a;a:Ljw;
-
-
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>
Lalp$a;<init>(Ljw;)V
-
-
Method Details
-
streamAllRegistryKeys
- Specified by:
streamAllRegistryKeys
in interfaceRegistryWrapper.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
Ljk$a;a()Ljava/util/stream/Stream;
-
getOptionalWrapper
public <T> Optional<RegistryWrapper.Impl<T>> getOptionalWrapper(RegistryKey<? extends Registry<? extends T>> registryRef) - Specified by:
getOptionalWrapper
in interfaceRegistryWrapper.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
Ljk$a;a(Lale;)Ljava/util/Optional;
-