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/ContextSwappableRegistryLookup
intermediary net/minecraft/class_10676
official 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) boolean
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.RegistryEntryLookup.RegistryLookup
getEntryOrThrow, getOptionalEntry, getOrThrow
-
Field Details
-
delegate
- Mappings:
Namespace Name Mixin selector named delegate
Lnet/minecraft/registry/ContextSwappableRegistryLookup;delegate:Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;
intermediary field_56244
Lnet/minecraft/class_10676;field_56244:Lnet/minecraft/class_7225$class_7874;
official a
Lbae;a:Lji$a;
-
entryLookupImpl
- Mappings:
Namespace Name Mixin selector named entryLookupImpl
Lnet/minecraft/registry/ContextSwappableRegistryLookup;entryLookupImpl:Lnet/minecraft/registry/ContextSwappableRegistryLookup$EntryLookupImpl;
intermediary field_56245
Lnet/minecraft/class_10676;field_56245:Lnet/minecraft/class_10676$class_10677;
official b
Lbae;b:Lbae$a;
-
entries
- Mappings:
Namespace Name Mixin selector named entries
Lnet/minecraft/registry/ContextSwappableRegistryLookup;entries:Ljava/util/Map;
intermediary field_56246
Lnet/minecraft/class_10676;field_56246:Ljava/util/Map;
official c
Lbae;c:Ljava/util/Map;
-
tags
- Mappings:
Namespace Name Mixin selector named tags
Lnet/minecraft/registry/ContextSwappableRegistryLookup;tags:Ljava/util/Map;
intermediary field_56247
Lnet/minecraft/class_10676;field_56247:Ljava/util/Map;
official d
Lbae;d:Ljava/util/Map;
-
-
Constructor Details
-
ContextSwappableRegistryLookup
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/registry/ContextSwappableRegistryLookup;<init>(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
intermediary <init>
Lnet/minecraft/class_10676;<init>(Lnet/minecraft/class_7225$class_7874;)V
official <init>
Lbae;<init>(Lji$a;)V
-
-
Method Details
-
getOptional
public <T> Optional<? extends RegistryEntryLookup<T>> getOptional(RegistryKey<? extends Registry<? extends T>> registryRef) - Specified by:
getOptional
in interfaceRegistryEntryLookup.RegistryLookup
- Mappings:
Namespace Name Mixin selector named getOptional
Lnet/minecraft/registry/RegistryEntryLookup$RegistryLookup;getOptional(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
intermediary method_46759
Lnet/minecraft/class_7871$class_7872;method_46759(Lnet/minecraft/class_5321;)Ljava/util/Optional;
official a
Ljh$a;a(Lalq;)Ljava/util/Optional;
-
createRegistryOps
- Mappings:
Namespace Name Mixin selector named createRegistryOps
Lnet/minecraft/registry/ContextSwappableRegistryLookup;createRegistryOps(Lcom/mojang/serialization/DynamicOps;)Lnet/minecraft/registry/RegistryOps;
intermediary method_67089
Lnet/minecraft/class_10676;method_67089(Lcom/mojang/serialization/DynamicOps;)Lnet/minecraft/class_6903;
official a
Lbae;a(Lcom/mojang/serialization/DynamicOps;)Lalp;
-
createContextSwapper
- Mappings:
Namespace Name Mixin selector named createContextSwapper
Lnet/minecraft/registry/ContextSwappableRegistryLookup;createContextSwapper()Lnet/minecraft/registry/ContextSwapper;
intermediary method_67088
Lnet/minecraft/class_10676;method_67088()Lnet/minecraft/class_10678;
official a
Lbae;a()Lbaj;
-
hasEntries
public boolean hasEntries()- Mappings:
Namespace Name Mixin selector named hasEntries
Lnet/minecraft/registry/ContextSwappableRegistryLookup;hasEntries()Z
intermediary method_67090
Lnet/minecraft/class_10676;method_67090()Z
official b
Lbae;b()Z
-