Package net.minecraft.registry
Class RegistryOps<T>
java.lang.Object
net.minecraft.util.dynamic.ForwardingDynamicOps<T>
net.minecraft.registry.RegistryOps<T>
- All Implemented Interfaces:
- com.mojang.serialization.DynamicOps<T>
- Mappings:
- Namespace - Name - named - net/minecraft/registry/RegistryOps- intermediary - net/minecraft/class_6903- official - akt
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprivate static final classstatic final recordstatic interface
- 
Field SummaryFieldsFields inherited from class net.minecraft.util.dynamic.ForwardingDynamicOpsdelegate
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprivateRegistryOps(com.mojang.serialization.DynamicOps<T> delegate, RegistryOps.RegistryInfoGetter registryInfoGetter) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanstatic <E,O> com.mojang.serialization.codecs.RecordCodecBuilder <O, RegistryEntry.Reference<E>> getEntryCodec(RegistryKey<E> key) <E> Optional<RegistryEntryLookup<E>> getEntryLookup(RegistryKey<? extends Registry<? extends E>> registryRef) static <E,O> com.mojang.serialization.codecs.RecordCodecBuilder <O, RegistryEntryLookup<E>> getEntryLookupCodec(RegistryKey<? extends Registry<? extends E>> registryRef) <E> Optional<RegistryEntryOwner<E>> getOwner(RegistryKey<? extends Registry<? extends E>> registryRef) inthashCode()static <T> RegistryOps<T> of(com.mojang.serialization.DynamicOps<T> delegate, RegistryOps.RegistryInfoGetter registryInfoGetter) static <T> RegistryOps<T> of(com.mojang.serialization.DynamicOps<T> delegate, RegistryWrapper.WrapperLookup registries) <U> RegistryOps<U> withDelegate(com.mojang.serialization.DynamicOps<U> delegate) static <T> com.mojang.serialization.Dynamic<T> withRegistry(com.mojang.serialization.Dynamic<T> dynamic, RegistryWrapper.WrapperLookup registries) Methods inherited from class net.minecraft.util.dynamic.ForwardingDynamicOpscompressMaps, convertTo, createBoolean, createByte, createByteList, createDouble, createFloat, createInt, createIntList, createList, createLong, createLongList, createMap, createMap, createNumeric, createShort, createString, empty, emptyList, emptyMap, getBooleanValue, getByteBuffer, getIntStream, getList, getLongStream, getMap, getMapEntries, getMapValues, getNumberValue, getStream, getStringValue, listBuilder, mapBuilder, mergeToList, mergeToList, mergeToMap, mergeToMap, mergeToMap, mergeToPrimitive, removeMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mojang.serialization.DynamicOpsconvertList, convertMap, get, getGeneric, getNumberValue, set, update, updateGeneric, withDecoder, withEncoder, withParser
- 
Field Details- 
registryInfoGetter- Mappings:
- Namespace - Name - Mixin selector - named - registryInfoGetter- Lnet/minecraft/registry/RegistryOps;registryInfoGetter:Lnet/minecraft/registry/RegistryOps$RegistryInfoGetter;- intermediary - field_40852- Lnet/minecraft/class_6903;field_40852:Lnet/minecraft/class_6903$class_7863;- official - b- Lakt;b:Lakt$c;
 
 
- 
- 
Constructor Details- 
RegistryOpsprivate RegistryOps(com.mojang.serialization.DynamicOps<T> delegate, RegistryOps.RegistryInfoGetter registryInfoGetter) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/registry/RegistryOps;<init>(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/registry/RegistryOps$RegistryInfoGetter;)V- intermediary - <init>- Lnet/minecraft/class_6903;<init>(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/class_6903$class_7863;)V- official - <init>- Lakt;<init>(Lcom/mojang/serialization/DynamicOps;Lakt$c;)V
 
 
- 
- 
Method Details- 
ofpublic static <T> RegistryOps<T> of(com.mojang.serialization.DynamicOps<T> delegate, RegistryWrapper.WrapperLookup registries) - Mappings:
- Namespace - Name - Mixin selector - named - of- Lnet/minecraft/registry/RegistryOps;of(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/registry/RegistryOps;- intermediary - method_46632- Lnet/minecraft/class_6903;method_46632(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_6903;- official - a- Lakt;a(Lcom/mojang/serialization/DynamicOps;Ljt$a;)Lakt;
 
- 
ofpublic static <T> RegistryOps<T> of(com.mojang.serialization.DynamicOps<T> delegate, RegistryOps.RegistryInfoGetter registryInfoGetter) - Mappings:
- Namespace - Name - Mixin selector - named - of- Lnet/minecraft/registry/RegistryOps;of(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/registry/RegistryOps$RegistryInfoGetter;)Lnet/minecraft/registry/RegistryOps;- intermediary - method_40414- Lnet/minecraft/class_6903;method_40414(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/class_6903$class_7863;)Lnet/minecraft/class_6903;- official - a- Lakt;a(Lcom/mojang/serialization/DynamicOps;Lakt$c;)Lakt;
 
- 
withRegistrypublic static <T> com.mojang.serialization.Dynamic<T> withRegistry(com.mojang.serialization.Dynamic<T> dynamic, RegistryWrapper.WrapperLookup registries) - Mappings:
- Namespace - Name - Mixin selector - named - withRegistry- Lnet/minecraft/registry/RegistryOps;withRegistry(Lcom/mojang/serialization/Dynamic;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lcom/mojang/serialization/Dynamic;- intermediary - method_56622- Lnet/minecraft/class_6903;method_56622(Lcom/mojang/serialization/Dynamic;Lnet/minecraft/class_7225$class_7874;)Lcom/mojang/serialization/Dynamic;- official - a- Lakt;a(Lcom/mojang/serialization/Dynamic;Ljt$a;)Lcom/mojang/serialization/Dynamic;
 
- 
withDelegate- Mappings:
- Namespace - Name - Mixin selector - named - withDelegate- Lnet/minecraft/registry/RegistryOps;withDelegate(Lcom/mojang/serialization/DynamicOps;)Lnet/minecraft/registry/RegistryOps;- intermediary - method_57110- Lnet/minecraft/class_6903;method_57110(Lcom/mojang/serialization/DynamicOps;)Lnet/minecraft/class_6903;- official - a- Lakt;a(Lcom/mojang/serialization/DynamicOps;)Lakt;
 
- 
getOwnerpublic <E> Optional<RegistryEntryOwner<E>> getOwner(RegistryKey<? extends Registry<? extends E>> registryRef) - Mappings:
- Namespace - Name - Mixin selector - named - getOwner- Lnet/minecraft/registry/RegistryOps;getOwner(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;- intermediary - method_46628- Lnet/minecraft/class_6903;method_46628(Lnet/minecraft/class_5321;)Ljava/util/Optional;- official - a- Lakt;a(Laku;)Ljava/util/Optional;
 
- 
getEntryLookuppublic <E> Optional<RegistryEntryLookup<E>> getEntryLookup(RegistryKey<? extends Registry<? extends E>> registryRef) - Mappings:
- Namespace - Name - Mixin selector - named - getEntryLookup- Lnet/minecraft/registry/RegistryOps;getEntryLookup(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;- intermediary - method_46634- Lnet/minecraft/class_6903;method_46634(Lnet/minecraft/class_5321;)Ljava/util/Optional;- official - b- Lakt;b(Laku;)Ljava/util/Optional;
 
- 
equals
- 
hashCodepublic int hashCode()
- 
getEntryLookupCodecpublic static <E,O> com.mojang.serialization.codecs.RecordCodecBuilder<O,RegistryEntryLookup<E>> getEntryLookupCodec(RegistryKey<? extends Registry<? extends E>> registryRef) - Mappings:
- Namespace - Name - Mixin selector - named - getEntryLookupCodec- Lnet/minecraft/registry/RegistryOps;getEntryLookupCodec(Lnet/minecraft/registry/RegistryKey;)Lcom/mojang/serialization/codecs/RecordCodecBuilder;- intermediary - method_46636- Lnet/minecraft/class_6903;method_46636(Lnet/minecraft/class_5321;)Lcom/mojang/serialization/codecs/RecordCodecBuilder;- official - c- Lakt;c(Laku;)Lcom/mojang/serialization/codecs/RecordCodecBuilder;
 
- 
getEntryCodecpublic static <E,O> com.mojang.serialization.codecs.RecordCodecBuilder<O,RegistryEntry.Reference<E>> getEntryCodec(RegistryKey<E> key) - Mappings:
- Namespace - Name - Mixin selector - named - getEntryCodec- Lnet/minecraft/registry/RegistryOps;getEntryCodec(Lnet/minecraft/registry/RegistryKey;)Lcom/mojang/serialization/codecs/RecordCodecBuilder;- intermediary - method_46637- Lnet/minecraft/class_6903;method_46637(Lnet/minecraft/class_5321;)Lcom/mojang/serialization/codecs/RecordCodecBuilder;- official - d- Lakt;d(Laku;)Lcom/mojang/serialization/codecs/RecordCodecBuilder;
 
 
-