Package net.minecraft.registry
Interface RegistryEntryLookup<T>
- All Known Subinterfaces:
RegistryWrapper<T>
,RegistryWrapper.Impl<T>
- All Known Implementing Classes:
RegistryBuilder.EntryListCreatingLookup
,RegistryBuilder.StandAloneEntryCreatingLookup
,RegistryWrapper.Delegating
,RegistryWrapper.Impl.Delegating
public interface RegistryEntryLookup<T>
- Mappings:
Namespace Name official hf
intermediary net/minecraft/class_7871
named net/minecraft/registry/RegistryEntryLookup
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetOptional
(RegistryKey<T> key) getOptional
(TagKey<T> tag) default RegistryEntry.Reference<T>
getOrThrow
(RegistryKey<T> key) default RegistryEntryList.Named<T>
getOrThrow
(TagKey<T> tag)
-
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;
-
getOrThrow
- Mappings:
Namespace Name Mixin selector official b
Lhf;b(Lacp;)Lhe$c;
intermediary method_46747
Lnet/minecraft/class_7871;method_46747(Lnet/minecraft/class_5321;)Lnet/minecraft/class_6880$class_6883;
named getOrThrow
Lnet/minecraft/registry/RegistryEntryLookup;getOrThrow(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/registry/entry/RegistryEntry$Reference;
-
getOptional
- Mappings:
Namespace Name Mixin selector official a
Lhf;a(Lanj;)Ljava/util/Optional;
intermediary method_46733
Lnet/minecraft/class_7871;method_46733(Lnet/minecraft/class_6862;)Ljava/util/Optional;
named getOptional
Lnet/minecraft/registry/RegistryEntryLookup;getOptional(Lnet/minecraft/registry/tag/TagKey;)Ljava/util/Optional;
-
getOrThrow
- Mappings:
Namespace Name Mixin selector official b
Lhf;b(Lanj;)Lhi$c;
intermediary method_46735
Lnet/minecraft/class_7871;method_46735(Lnet/minecraft/class_6862;)Lnet/minecraft/class_6885$class_6888;
named getOrThrow
Lnet/minecraft/registry/RegistryEntryLookup;getOrThrow(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/registry/entry/RegistryEntryList$Named;
-