Package net.minecraft.registry
Interface RegistryWrapper.Impl.Delegating<T>
- All Superinterfaces:
RegistryEntryLookup<T>
,RegistryEntryOwner<T>
,RegistryWrapper<T>
,RegistryWrapper.Impl<T>
- All Known Implementing Classes:
RegistryBuilder.UntaggedDelegatingLookup
- Enclosing interface:
RegistryWrapper.Impl<T>
- Mappings:
Namespace Name named net/minecraft/registry/RegistryWrapper$Impl$Delegating
intermediary net/minecraft/class_7225$class_7226$class_7875
official js$b$a
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.registry.RegistryEntryLookup
RegistryEntryLookup.RegistryLookup
Nested classes/interfaces inherited from interface net.minecraft.registry.RegistryWrapper
RegistryWrapper.Impl<T>, RegistryWrapper.WrapperLookup
Nested classes/interfaces inherited from interface net.minecraft.registry.RegistryWrapper.Impl
RegistryWrapper.Impl.Delegating<T>
-
Method Summary
Modifier and TypeMethodDescriptiongetBase()
default RegistryKey
<? extends Registry<? extends T>> getKey()
default com.mojang.serialization.Lifecycle
default Optional
<RegistryEntry.Reference<T>> getOptional
(RegistryKey<T> key) default Optional
<RegistryEntryList.Named<T>> getOptional
(TagKey<T> tag) default Stream
<RegistryEntryList.Named<T>> getTags()
default Stream
<RegistryEntry.Reference<T>> Returns a stream of registry keys defined in the wrapped registry.Methods inherited from interface net.minecraft.registry.RegistryEntryLookup
getOrThrow, getOrThrow
Methods inherited from interface net.minecraft.registry.entry.RegistryEntryOwner
ownerEquals
Methods inherited from interface net.minecraft.registry.RegistryWrapper
streamKeys, streamTagKeys
Methods inherited from interface net.minecraft.registry.RegistryWrapper.Impl
withFeatureFilter, withPredicateFilter
-
Method Details
-
getBase
RegistryWrapper.Impl<T> getBase()- Mappings:
Namespace Name Mixin selector named getBase
Lnet/minecraft/registry/RegistryWrapper$Impl$Delegating;getBase()Lnet/minecraft/registry/RegistryWrapper$Impl;
intermediary method_46725
Lnet/minecraft/class_7225$class_7226$class_7875;method_46725()Lnet/minecraft/class_7225$class_7226;
official a
Ljs$b$a;a()Ljs$b;
-
getKey
- Specified by:
getKey
in interfaceRegistryWrapper.Impl<T>
- Mappings:
Namespace Name Mixin selector named getKey
Lnet/minecraft/registry/RegistryWrapper$Impl;getKey()Lnet/minecraft/registry/RegistryKey;
intermediary method_46765
Lnet/minecraft/class_7225$class_7226;method_46765()Lnet/minecraft/class_5321;
official g
Ljs$b;g()Laly;
-
getLifecycle
default com.mojang.serialization.Lifecycle getLifecycle()- Specified by:
getLifecycle
in interfaceRegistryWrapper.Impl<T>
- Mappings:
Namespace Name Mixin selector named getLifecycle
Lnet/minecraft/registry/RegistryWrapper$Impl;getLifecycle()Lcom/mojang/serialization/Lifecycle;
intermediary method_46766
Lnet/minecraft/class_7225$class_7226;method_46766()Lcom/mojang/serialization/Lifecycle;
official h
Ljs$b;h()Lcom/mojang/serialization/Lifecycle;
-
getOptional
- Specified by:
getOptional
in interfaceRegistryEntryLookup<T>
- Mappings:
Namespace Name Mixin selector named getOptional
Lnet/minecraft/registry/RegistryEntryLookup;getOptional(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
intermediary method_46746
Lnet/minecraft/class_7871;method_46746(Lnet/minecraft/class_5321;)Ljava/util/Optional;
official a
Ljr;a(Laly;)Ljava/util/Optional;
-
streamEntries
Returns a stream of registry keys defined in the wrapped registry.- Specified by:
streamEntries
in interfaceRegistryWrapper<T>
- Returns:
- a stream of registry keys defined in the wrapped registry
- See Also:
- Mappings:
Namespace Name Mixin selector named streamEntries
Lnet/minecraft/registry/RegistryWrapper;streamEntries()Ljava/util/stream/Stream;
intermediary method_42017
Lnet/minecraft/class_7225;method_42017()Ljava/util/stream/Stream;
official c
Ljs;c()Ljava/util/stream/Stream;
-
getOptional
- Specified by:
getOptional
in interfaceRegistryEntryLookup<T>
- Mappings:
Namespace Name Mixin selector named getOptional
Lnet/minecraft/registry/RegistryEntryLookup;getOptional(Lnet/minecraft/registry/tag/TagKey;)Ljava/util/Optional;
intermediary method_46733
Lnet/minecraft/class_7871;method_46733(Lnet/minecraft/class_6862;)Ljava/util/Optional;
official a
Ljr;a(Layk;)Ljava/util/Optional;
-
getTags
- Specified by:
getTags
in interfaceRegistryWrapper<T>
- Mappings:
Namespace Name Mixin selector named getTags
Lnet/minecraft/registry/RegistryWrapper;getTags()Ljava/util/stream/Stream;
intermediary method_42020
Lnet/minecraft/class_7225;method_42020()Ljava/util/stream/Stream;
official e
Ljs;e()Ljava/util/stream/Stream;
-