Package net.minecraft.registry
Class ContextSwappableRegistryLookup
java.lang.Object
net.minecraft.registry.ContextSwappableRegistryLookup
- All Implemented Interfaces:
 RegistryEntryLookup.RegistryLookup
public class ContextSwappableRegistryLookup
extends Object
implements RegistryEntryLookup.RegistryLookup
- Mappings:
 Namespace Name named net/minecraft/registry/ContextSwappableRegistryLookupintermediary net/minecraft/class_10676official bae
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescription(package private) final RegistryWrapper.WrapperLookup(package private) final Map<RegistryKey<Object>, RegistryEntry.Reference<Object>> (package private) final ContextSwappableRegistryLookup.EntryLookupImpl(package private) final Map<TagKey<Object>, RegistryEntryList.Named<Object>>  - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescription<V> RegistryOps<V> createRegistryOps(com.mojang.serialization.DynamicOps<V> delegateOps) <T> Optional<? extends RegistryEntryLookup<T>> getOptional(RegistryKey<? extends Registry<? extends T>> registryRef) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.registry.RegistryEntryLookup.RegistryLookup
getEntryOrThrow, getOptionalEntry, getOrThrow 
- 
Field Details
- 
delegate
- Mappings:
 Namespace Name Mixin selector named delegateLnet/minecraft/registry/ContextSwappableRegistryLookup;delegate:Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;intermediary field_56244Lnet/minecraft/class_10676;field_56244:Lnet/minecraft/class_7225$class_7874;official aLbae;a:Lji$a;
 - 
entryLookupImpl
- Mappings:
 Namespace Name Mixin selector named entryLookupImplLnet/minecraft/registry/ContextSwappableRegistryLookup;entryLookupImpl:Lnet/minecraft/registry/ContextSwappableRegistryLookup$EntryLookupImpl;intermediary field_56245Lnet/minecraft/class_10676;field_56245:Lnet/minecraft/class_10676$class_10677;official bLbae;b:Lbae$a;
 - 
entries
- Mappings:
 Namespace Name Mixin selector named entriesLnet/minecraft/registry/ContextSwappableRegistryLookup;entries:Ljava/util/Map;intermediary field_56246Lnet/minecraft/class_10676;field_56246:Ljava/util/Map;official cLbae;c:Ljava/util/Map;
 - 
tags
- Mappings:
 Namespace Name Mixin selector named tagsLnet/minecraft/registry/ContextSwappableRegistryLookup;tags:Ljava/util/Map;intermediary field_56247Lnet/minecraft/class_10676;field_56247:Ljava/util/Map;official dLbae;d:Ljava/util/Map;
 
 - 
 - 
Constructor Details
- 
ContextSwappableRegistryLookup
- Mappings:
 Namespace Name Mixin selector named <init>Lnet/minecraft/registry/ContextSwappableRegistryLookup;<init>(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Vintermediary <init>Lnet/minecraft/class_10676;<init>(Lnet/minecraft/class_7225$class_7874;)Vofficial <init>Lbae;<init>(Lji$a;)V
 
 - 
 - 
Method Details
- 
getOptional
public <T> Optional<? extends RegistryEntryLookup<T>> getOptional(RegistryKey<? extends Registry<? extends T>> registryRef) - Specified by:
 getOptionalin interfaceRegistryEntryLookup.RegistryLookup- Mappings:
 Namespace Name Mixin selector named getOptionalLnet/minecraft/registry/RegistryEntryLookup$RegistryLookup;getOptional(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;intermediary method_46759Lnet/minecraft/class_7871$class_7872;method_46759(Lnet/minecraft/class_5321;)Ljava/util/Optional;official aLjh$a;a(Lalq;)Ljava/util/Optional;
 - 
createRegistryOps
- Mappings:
 Namespace Name Mixin selector named createRegistryOpsLnet/minecraft/registry/ContextSwappableRegistryLookup;createRegistryOps(Lcom/mojang/serialization/DynamicOps;)Lnet/minecraft/registry/RegistryOps;intermediary method_67089Lnet/minecraft/class_10676;method_67089(Lcom/mojang/serialization/DynamicOps;)Lnet/minecraft/class_6903;official aLbae;a(Lcom/mojang/serialization/DynamicOps;)Lalp;
 - 
createContextSwapper
- Mappings:
 Namespace Name Mixin selector named createContextSwapperLnet/minecraft/registry/ContextSwappableRegistryLookup;createContextSwapper()Lnet/minecraft/registry/ContextSwapper;intermediary method_67088Lnet/minecraft/class_10676;method_67088()Lnet/minecraft/class_10678;official aLbae;a()Lbaj;
 - 
hasEntries
public boolean hasEntries()- Mappings:
 Namespace Name Mixin selector named hasEntriesLnet/minecraft/registry/ContextSwappableRegistryLookup;hasEntries()Zintermediary method_67090Lnet/minecraft/class_10676;method_67090()Zofficial bLbae;b()Z
 
 -