Package net.minecraft.registry
Class RegistryWrapper.Impl.Delegating<T>
java.lang.Object
net.minecraft.registry.RegistryWrapper.Impl.Delegating<T>
- All Implemented Interfaces:
RegistryEntryOwner<T>
,RegistryEntryLookup<T>
,RegistryWrapper<T>
,RegistryWrapper.Impl<T>
- Enclosing interface:
RegistryWrapper.Impl<T>
public abstract static class RegistryWrapper.Impl.Delegating<T>
extends Object
implements RegistryWrapper.Impl<T>
- Mappings:
Namespace Name official hg$c$a
intermediary net/minecraft/class_7225$class_7226$class_7875
named net/minecraft/registry/RegistryWrapper$Impl$Delegating
-
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>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract RegistryWrapper.Impl<T>
getBase()
com.mojang.serialization.Lifecycle
getOptional
(RegistryKey<T> key) getOptional
(TagKey<T> tag) RegistryKey<? extends Registry<? extends T>>
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, wait
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
filter, streamKeys, streamTagKeys
Methods inherited from interface net.minecraft.registry.RegistryWrapper.Impl
withFeatureFilter
-
Constructor Details
-
Delegating
public Delegating()
-
-
Method Details
-
getBase
- Mappings:
Namespace Name Mixin selector official a
Lhg$c$a;a()Lhg$c;
intermediary method_46725
Lnet/minecraft/class_7225$class_7226$class_7875;method_46725()Lnet/minecraft/class_7225$class_7226;
named getBase
Lnet/minecraft/registry/RegistryWrapper$Impl$Delegating;getBase()Lnet/minecraft/registry/RegistryWrapper$Impl;
-
getRegistryKey
- Specified by:
getRegistryKey
in interfaceRegistryWrapper.Impl<T>
- Mappings:
Namespace Name Mixin selector official f
Lhg$c;f()Laev;
intermediary method_46765
Lnet/minecraft/class_7225$class_7226;method_46765()Lnet/minecraft/class_5321;
named getRegistryKey
Lnet/minecraft/registry/RegistryWrapper$Impl;getRegistryKey()Lnet/minecraft/registry/RegistryKey;
-
getLifecycle
public com.mojang.serialization.Lifecycle getLifecycle()- Specified by:
getLifecycle
in interfaceRegistryWrapper.Impl<T>
- Mappings:
Namespace Name Mixin selector official g
Lhg$c;g()Lcom/mojang/serialization/Lifecycle;
intermediary method_46766
Lnet/minecraft/class_7225$class_7226;method_46766()Lcom/mojang/serialization/Lifecycle;
named getLifecycle
Lnet/minecraft/registry/RegistryWrapper$Impl;getLifecycle()Lcom/mojang/serialization/Lifecycle;
-
getOptional
- Specified by:
getOptional
in interfaceRegistryEntryLookup<T>
- Mappings:
Namespace Name Mixin selector official a
Lhf;a(Laev;)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;
-
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 official b
Lhg;b()Ljava/util/stream/Stream;
intermediary method_42017
Lnet/minecraft/class_7225;method_42017()Ljava/util/stream/Stream;
named streamEntries
Lnet/minecraft/registry/RegistryWrapper;streamEntries()Ljava/util/stream/Stream;
-
getOptional
- Specified by:
getOptional
in interfaceRegistryEntryLookup<T>
- Mappings:
Namespace Name Mixin selector official a
Lhf;a(Laqh;)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;
-
streamTags
- Specified by:
streamTags
in interfaceRegistryWrapper<T>
- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lhg;d()Ljava/util/stream/Stream;
intermediary method_42020
Lnet/minecraft/class_7225;method_42020()Ljava/util/stream/Stream;
named streamTags
Lnet/minecraft/registry/RegistryWrapper;streamTags()Ljava/util/stream/Stream;
-