Package net.minecraft.registry
Class RegistryBuilder.StandAloneEntryCreatingLookup
java.lang.Object
net.minecraft.registry.RegistryBuilder.EntryListCreatingLookup<Object>
net.minecraft.registry.RegistryBuilder.StandAloneEntryCreatingLookup
- All Implemented Interfaces:
RegistryEntryLookup<Object>
- Enclosing class:
RegistryBuilder
private static class RegistryBuilder.StandAloneEntryCreatingLookup
extends RegistryBuilder.EntryListCreatingLookup<Object>
- Mappings:
Namespace Name official hu$h
intermediary net/minecraft/class_7877$class_7885
named net/minecraft/registry/RegistryBuilder$StandAloneEntryCreatingLookup
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.registry.RegistryEntryLookup
RegistryEntryLookup.RegistryLookup
-
Field Summary
Modifier and TypeFieldDescription(package private) final Map<RegistryKey<Object>,
RegistryEntry.Reference<Object>> Fields inherited from class net.minecraft.registry.RegistryBuilder.EntryListCreatingLookup
entryOwner
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetOptional
(RegistryKey<Object> key) (package private) <T> RegistryEntry.Reference<T>
getOrCreate
(RegistryKey<T> key) Methods inherited from class net.minecraft.registry.RegistryBuilder.EntryListCreatingLookup
getOptional
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
getOrThrow, getOrThrow
-
Field Details
-
keysToEntries
- Mappings:
Namespace Name Mixin selector official a
Lhu$h;a:Ljava/util/Map;
intermediary field_40948
Lnet/minecraft/class_7877$class_7885;field_40948:Ljava/util/Map;
named keysToEntries
Lnet/minecraft/registry/RegistryBuilder$StandAloneEntryCreatingLookup;keysToEntries:Ljava/util/Map;
-
-
Constructor Details
-
StandAloneEntryCreatingLookup
- Mappings:
Namespace Name Mixin selector official <init>
Lhu$c;<init>(Lhh;)V
intermediary <init>
Lnet/minecraft/class_7877$class_7880;<init>(Lnet/minecraft/class_7876;)V
named <init>
Lnet/minecraft/registry/RegistryBuilder$EntryListCreatingLookup;<init>(Lnet/minecraft/registry/entry/RegistryEntryOwner;)V
-
-
Method Details
-
getOptional
- Mappings:
Namespace Name Mixin selector official a
Lhf;a(Lacp;)Ljava/util/Optional;
intermediary method_46746
Lnet/minecraft/class_7871;method_46746(Lnet/minecraft/class_5321;)Ljava/util/Optional;
named getOptional
Lnet/minecraft/registry/RegistryEntryLookup;getOptional(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
-
getOrCreate
- Mappings:
Namespace Name Mixin selector official c
Lhu$h;c(Lacp;)Lhe$c;
intermediary method_46807
Lnet/minecraft/class_7877$class_7885;method_46807(Lnet/minecraft/class_5321;)Lnet/minecraft/class_6880$class_6883;
named getOrCreate
Lnet/minecraft/registry/RegistryBuilder$StandAloneEntryCreatingLookup;getOrCreate(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/registry/entry/RegistryEntry$Reference;
-