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$Delegatingintermediary net/minecraft/class_7225$class_7226$class_7875official jo$b$a
-
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.Impl<T>, RegistryWrapper.WrapperLookupNested classes/interfaces inherited from interface net.minecraft.registry.RegistryWrapper.Impl
RegistryWrapper.Impl.Delegating<T> -
Method Summary
Modifier and TypeMethodDescriptiongetBase()default com.mojang.serialization.Lifecycledefault Optional<RegistryEntry.Reference<T>> getOptional(RegistryKey<T> key) default Optional<RegistryEntryList.Named<T>> getOptional(TagKey<T> tag) default RegistryKey<? extends Registry<? extends T>> default Stream<RegistryEntry.Reference<T>> Returns a stream of registry keys defined in the wrapped registry.default Stream<RegistryEntryList.Named<T>> Methods inherited from interface net.minecraft.registry.RegistryEntryLookup
getOrThrow, getOrThrowMethods inherited from interface net.minecraft.registry.entry.RegistryEntryOwner
ownerEqualsMethods inherited from interface net.minecraft.registry.RegistryWrapper
streamKeys, streamTagKeysMethods inherited from interface net.minecraft.registry.RegistryWrapper.Impl
withFeatureFilter, withPredicateFilter
-
Method Details
-
getBase
RegistryWrapper.Impl<T> getBase()- Mappings:
Namespace Name Mixin selector named getBaseLnet/minecraft/registry/RegistryWrapper$Impl$Delegating;getBase()Lnet/minecraft/registry/RegistryWrapper$Impl;intermediary method_46725Lnet/minecraft/class_7225$class_7226$class_7875;method_46725()Lnet/minecraft/class_7225$class_7226;official aLjo$b$a;a()Ljo$b;
-
getRegistryKey
- Specified by:
getRegistryKeyin interfaceRegistryWrapper.Impl<T>- Mappings:
Namespace Name Mixin selector named getRegistryKeyLnet/minecraft/registry/RegistryWrapper$Impl;getRegistryKey()Lnet/minecraft/registry/RegistryKey;intermediary method_46765Lnet/minecraft/class_7225$class_7226;method_46765()Lnet/minecraft/class_5321;official fLjo$b;f()Lakq;
-
getLifecycle
default com.mojang.serialization.Lifecycle getLifecycle()- Specified by:
getLifecyclein interfaceRegistryWrapper.Impl<T>- Mappings:
Namespace Name Mixin selector named getLifecycleLnet/minecraft/registry/RegistryWrapper$Impl;getLifecycle()Lcom/mojang/serialization/Lifecycle;intermediary method_46766Lnet/minecraft/class_7225$class_7226;method_46766()Lcom/mojang/serialization/Lifecycle;official gLjo$b;g()Lcom/mojang/serialization/Lifecycle;
-
getOptional
- Specified by:
getOptionalin interfaceRegistryEntryLookup<T>- Mappings:
Namespace Name Mixin selector named getOptionalLnet/minecraft/registry/RegistryEntryLookup;getOptional(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;intermediary method_46746Lnet/minecraft/class_7871;method_46746(Lnet/minecraft/class_5321;)Ljava/util/Optional;official aLjn;a(Lakq;)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 named streamEntriesLnet/minecraft/registry/RegistryWrapper;streamEntries()Ljava/util/stream/Stream;intermediary method_42017Lnet/minecraft/class_7225;method_42017()Ljava/util/stream/Stream;official bLjo;b()Ljava/util/stream/Stream;
-
getOptional
- Specified by:
getOptionalin interfaceRegistryEntryLookup<T>- Mappings:
Namespace Name Mixin selector named getOptionalLnet/minecraft/registry/RegistryEntryLookup;getOptional(Lnet/minecraft/registry/tag/TagKey;)Ljava/util/Optional;intermediary method_46733Lnet/minecraft/class_7871;method_46733(Lnet/minecraft/class_6862;)Ljava/util/Optional;official aLjn;a(Lawu;)Ljava/util/Optional;
-
streamTags
- Specified by:
streamTagsin interfaceRegistryWrapper<T>- See Also:
- Mappings:
Namespace Name Mixin selector named streamTagsLnet/minecraft/registry/RegistryWrapper;streamTags()Ljava/util/stream/Stream;intermediary method_42020Lnet/minecraft/class_7225;method_42020()Ljava/util/stream/Stream;official dLjo;d()Ljava/util/stream/Stream;
-