Package net.minecraft.registry
Class RegistryOps.RegistryInfoLookup
java.lang.Object
net.minecraft.registry.RegistryOps.RegistryInfoLookup
- All Implemented Interfaces:
RegistryOps.RegistryInfoGetter
- Enclosing class:
RegistryOps<T>
private static final class RegistryOps.RegistryInfoLookup
extends Object
implements RegistryOps.RegistryInfoGetter
- Mappings:
Namespace Name named net/minecraft/registry/RegistryOps$RegistryInfoLookup
intermediary net/minecraft/class_6903$class_9683
official alc$a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map
<RegistryKey<? extends Registry<?>>, Optional<? extends RegistryOps.RegistryInfo<?>>> private final RegistryWrapper.WrapperLookup
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Optional
<RegistryOps.RegistryInfo<Object>> computeRegistryInfo
(RegistryKey<? extends Registry<?>> registryRef) boolean
<E> Optional
<RegistryOps.RegistryInfo<E>> getRegistryInfo
(RegistryKey<? extends Registry<? extends E>> registryRef) int
hashCode()
-
Field Details
-
wrapperLookup
- Mappings:
Namespace Name Mixin selector named wrapperLookup
Lnet/minecraft/registry/RegistryOps$RegistryInfoLookup;wrapperLookup:Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;
intermediary field_51501
Lnet/minecraft/class_6903$class_9683;field_51501:Lnet/minecraft/class_7225$class_7874;
official a
Lalc$a;a:Ljk$a;
-
registryInfos
private final Map<RegistryKey<? extends Registry<?>>,Optional<? extends RegistryOps.RegistryInfo<?>>> registryInfos- Mappings:
Namespace Name Mixin selector named registryInfos
Lnet/minecraft/registry/RegistryOps$RegistryInfoLookup;registryInfos:Ljava/util/Map;
intermediary field_51502
Lnet/minecraft/class_6903$class_9683;field_51502:Ljava/util/Map;
official b
Lalc$a;b:Ljava/util/Map;
-
-
Constructor Details
-
RegistryInfoLookup
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/registry/RegistryOps$RegistryInfoLookup;<init>(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
intermediary <init>
Lnet/minecraft/class_6903$class_9683;<init>(Lnet/minecraft/class_7225$class_7874;)V
official <init>
Lalc$a;<init>(Ljk$a;)V
-
-
Method Details
-
getRegistryInfo
public <E> Optional<RegistryOps.RegistryInfo<E>> getRegistryInfo(RegistryKey<? extends Registry<? extends E>> registryRef) - Specified by:
getRegistryInfo
in interfaceRegistryOps.RegistryInfoGetter
- Mappings:
Namespace Name Mixin selector named getRegistryInfo
Lnet/minecraft/registry/RegistryOps$RegistryInfoGetter;getRegistryInfo(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
intermediary method_46623
Lnet/minecraft/class_6903$class_7863;method_46623(Lnet/minecraft/class_5321;)Ljava/util/Optional;
official a
Lalc$c;a(Lald;)Ljava/util/Optional;
-
computeRegistryInfo
private Optional<RegistryOps.RegistryInfo<Object>> computeRegistryInfo(RegistryKey<? extends Registry<?>> registryRef) - Mappings:
Namespace Name Mixin selector named computeRegistryInfo
Lnet/minecraft/registry/RegistryOps$RegistryInfoLookup;computeRegistryInfo(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
intermediary method_59855
Lnet/minecraft/class_6903$class_9683;method_59855(Lnet/minecraft/class_5321;)Ljava/util/Optional;
official b
Lalc$a;b(Lald;)Ljava/util/Optional;
-
equals
- Overrides:
equals
in classObject
- Mappings:
Namespace Name Mixin selector named equals
Lnet/minecraft/registry/RegistryOps$RegistryInfoLookup;equals(Ljava/lang/Object;)Z
intermediary equals
Lnet/minecraft/class_6903$class_9683;equals(Ljava/lang/Object;)Z
official equals
Lalc$a;equals(Ljava/lang/Object;)Z
-
hashCode
public int hashCode()
-