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 haintermediary net/minecraft/class_7871named net/minecraft/registry/RegistryEntryLookup
-
Nested Class Summary
Nested Classes -
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 aLha;a(Lacr;)Ljava/util/Optional;intermediary method_46746Lnet/minecraft/class_7871;method_46746(Lnet/minecraft/class_5321;)Ljava/util/Optional;named getOptionalLnet/minecraft/registry/RegistryEntryLookup;getOptional(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
-
getOrThrow
- Mappings:
Namespace Name Mixin selector official bLha;b(Lacr;)Lgz$c;intermediary method_46747Lnet/minecraft/class_7871;method_46747(Lnet/minecraft/class_5321;)Lnet/minecraft/class_6880$class_6883;named getOrThrowLnet/minecraft/registry/RegistryEntryLookup;getOrThrow(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/registry/entry/RegistryEntry$Reference;
-
getOptional
- Mappings:
Namespace Name Mixin selector official aLha;a(Lani;)Ljava/util/Optional;intermediary method_46733Lnet/minecraft/class_7871;method_46733(Lnet/minecraft/class_6862;)Ljava/util/Optional;named getOptionalLnet/minecraft/registry/RegistryEntryLookup;getOptional(Lnet/minecraft/registry/tag/TagKey;)Ljava/util/Optional;
-
getOrThrow
- Mappings:
Namespace Name Mixin selector official bLha;b(Lani;)Lhd$c;intermediary method_46735Lnet/minecraft/class_7871;method_46735(Lnet/minecraft/class_6862;)Lnet/minecraft/class_6885$class_6888;named getOrThrowLnet/minecraft/registry/RegistryEntryLookup;getOrThrow(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/registry/entry/RegistryEntryList$Named;
-