Package net.minecraft.registry
Class RegistryOps.CachedRegistryInfoGetter
java.lang.Object
net.minecraft.registry.RegistryOps.CachedRegistryInfoGetter
- All Implemented Interfaces:
 RegistryOps.RegistryInfoGetter
- Enclosing class:
 RegistryOps<T>
private static final class RegistryOps.CachedRegistryInfoGetter
extends Object
implements RegistryOps.RegistryInfoGetter
- Mappings:
 Namespace Name named net/minecraft/registry/RegistryOps$CachedRegistryInfoGetterintermediary net/minecraft/class_6903$class_9683official amc$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>> compute(RegistryKey<? extends Registry<?>> registryRef) boolean<E> Optional<RegistryOps.RegistryInfo<E>> getRegistryInfo(RegistryKey<? extends Registry<? extends E>> registryRef) inthashCode() 
- 
Field Details
- 
registries
- Mappings:
 Namespace Name Mixin selector named registriesLnet/minecraft/registry/RegistryOps$CachedRegistryInfoGetter;registries:Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;intermediary field_51501Lnet/minecraft/class_6903$class_9683;field_51501:Lnet/minecraft/class_7225$class_7874;official aLamc$a;a:Ljn$a;
 - 
cache
private final Map<RegistryKey<? extends Registry<?>>,Optional<? extends RegistryOps.RegistryInfo<?>>> cache- Mappings:
 Namespace Name Mixin selector named cacheLnet/minecraft/registry/RegistryOps$CachedRegistryInfoGetter;cache:Ljava/util/Map;intermediary field_51502Lnet/minecraft/class_6903$class_9683;field_51502:Ljava/util/Map;official bLamc$a;b:Ljava/util/Map;
 
 - 
 - 
Constructor Details
- 
CachedRegistryInfoGetter
- Mappings:
 Namespace Name Mixin selector named <init>Lnet/minecraft/registry/RegistryOps$CachedRegistryInfoGetter;<init>(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Vintermediary <init>Lnet/minecraft/class_6903$class_9683;<init>(Lnet/minecraft/class_7225$class_7874;)Vofficial <init>Lamc$a;<init>(Ljn$a;)V
 
 - 
 - 
Method Details
- 
getRegistryInfo
public <E> Optional<RegistryOps.RegistryInfo<E>> getRegistryInfo(RegistryKey<? extends Registry<? extends E>> registryRef) - Specified by:
 getRegistryInfoin interfaceRegistryOps.RegistryInfoGetter- Mappings:
 Namespace Name Mixin selector named getRegistryInfoLnet/minecraft/registry/RegistryOps$RegistryInfoGetter;getRegistryInfo(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;intermediary method_46623Lnet/minecraft/class_6903$class_7863;method_46623(Lnet/minecraft/class_5321;)Ljava/util/Optional;official aLamc$c;a(Lamd;)Ljava/util/Optional;
 - 
compute
private Optional<RegistryOps.RegistryInfo<Object>> compute(RegistryKey<? extends Registry<?>> registryRef) - Mappings:
 Namespace Name Mixin selector named computeLnet/minecraft/registry/RegistryOps$CachedRegistryInfoGetter;compute(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;intermediary method_59855Lnet/minecraft/class_6903$class_9683;method_59855(Lnet/minecraft/class_5321;)Ljava/util/Optional;official bLamc$a;b(Lamd;)Ljava/util/Optional;
 - 
equals
- Overrides:
 equalsin classObject- Mappings:
 Namespace Name Mixin selector named equalsLnet/minecraft/registry/RegistryOps$CachedRegistryInfoGetter;equals(Ljava/lang/Object;)Zintermediary equalsLnet/minecraft/class_6903$class_9683;equals(Ljava/lang/Object;)Zofficial equalsLamc$a;equals(Ljava/lang/Object;)Z
 - 
hashCode
public int hashCode() 
 -