Package net.minecraft.registry
Class RegistryWrapper.Delegating<T>
java.lang.Object
net.minecraft.registry.RegistryWrapper.Delegating<T>
- All Implemented Interfaces:
RegistryEntryLookup<T>,RegistryWrapper<T>
- Enclosing interface:
RegistryWrapper<T>
- Mappings:
Namespace Name intermediary net/minecraft/class_7225$class_7873official hg$anamed net/minecraft/registry/RegistryWrapper$Delegating
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.registry.RegistryEntryLookup
RegistryEntryLookup.RegistryLookupNested classes/interfaces inherited from interface net.minecraft.registry.RegistryWrapper
RegistryWrapper.Delegating<T>, RegistryWrapper.Impl<T>, RegistryWrapper.WrapperLookup -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOptional(RegistryKey<T> key) getOptional(TagKey<T> tag) Returns a stream of registry keys defined in the wrapped registry.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.registry.RegistryEntryLookup
getOrThrow, getOrThrowMethods inherited from interface net.minecraft.registry.RegistryWrapper
filter, streamKeys, streamTagKeys
-
Field Details
-
baseWrapper
- Mappings:
Namespace Name Mixin selector intermediary field_40933Lnet/minecraft/class_7225$class_7873;field_40933:Lnet/minecraft/class_7225;official cLhg$a;c:Lhg;named baseWrapperLnet/minecraft/registry/RegistryWrapper$Delegating;baseWrapper:Lnet/minecraft/registry/RegistryWrapper;
-
-
Constructor Details
-
Delegating
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_7225$class_7873;<init>(Lnet/minecraft/class_7225;)Vofficial <init>Lhg$a;<init>(Lhg;)Vnamed <init>Lnet/minecraft/registry/RegistryWrapper$Delegating;<init>(Lnet/minecraft/registry/RegistryWrapper;)V
-
-
Method Details
-
getOptional
- Specified by:
getOptionalin interfaceRegistryEntryLookup<T>- Mappings:
Namespace Name Mixin selector intermediary method_46746Lnet/minecraft/class_7871;method_46746(Lnet/minecraft/class_5321;)Ljava/util/Optional;official aLhf;a(Lacp;)Ljava/util/Optional;named getOptionalLnet/minecraft/registry/RegistryEntryLookup;getOptional(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
-
streamEntries
Returns a stream of registry keys defined in the wrapped registry.- Specified by:
streamEntriesin interfaceRegistryWrapper<T>- Returns:
- a stream of registry keys defined in the wrapped registry
- See Also:
- Mappings:
Namespace Name Mixin selector intermediary method_42017Lnet/minecraft/class_7225;method_42017()Ljava/util/stream/Stream;official bLhg;b()Ljava/util/stream/Stream;named streamEntriesLnet/minecraft/registry/RegistryWrapper;streamEntries()Ljava/util/stream/Stream;
-
getOptional
- Specified by:
getOptionalin interfaceRegistryEntryLookup<T>- Mappings:
Namespace Name Mixin selector intermediary method_46733Lnet/minecraft/class_7871;method_46733(Lnet/minecraft/class_6862;)Ljava/util/Optional;official aLhf;a(Lanl;)Ljava/util/Optional;named getOptionalLnet/minecraft/registry/RegistryEntryLookup;getOptional(Lnet/minecraft/registry/tag/TagKey;)Ljava/util/Optional;
-
streamTags
- Specified by:
streamTagsin interfaceRegistryWrapper<T>- See Also:
- Mappings:
Namespace Name Mixin selector intermediary method_42020Lnet/minecraft/class_7225;method_42020()Ljava/util/stream/Stream;official dLhg;d()Ljava/util/stream/Stream;named streamTagsLnet/minecraft/registry/RegistryWrapper;streamTags()Ljava/util/stream/Stream;
-