Package net.minecraft.registry
Interface RegistryWrapper<T>
- All Superinterfaces:
RegistryEntryLookup<T>
- All Known Subinterfaces:
DefaultedRegistry<T>
,MutableRegistry<T>
,Registry<T>
,RegistryWrapper.Impl<T>
,RegistryWrapper.Impl.Delegating<T>
- All Known Implementing Classes:
RegistryBuilder.UntaggedDelegatingLookup
,RegistryBuilder.UntaggedLookup
,SimpleDefaultedRegistry
,SimpleRegistry
A read-only wrapper of a registry.
- Mappings:
Namespace Name named net/minecraft/registry/RegistryWrapper
intermediary net/minecraft/class_7225
official js
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
Nested classes/interfaces inherited from interface net.minecraft.registry.RegistryEntryLookup
RegistryEntryLookup.RegistryLookup
-
Method Summary
Modifier and TypeMethodDescriptiongetTags()
Returns a stream of registry keys defined in the wrapped registry.default Stream
<RegistryKey<T>> Methods inherited from interface net.minecraft.registry.RegistryEntryLookup
getOptional, getOptional, getOrThrow, getOrThrow
-
Method Details
-
streamEntries
Stream<RegistryEntry.Reference<T>> streamEntries()Returns a stream of registry keys defined in the wrapped registry.- 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;
-
streamKeys
- Mappings:
Namespace Name Mixin selector named streamKeys
Lnet/minecraft/registry/RegistryWrapper;streamKeys()Ljava/util/stream/Stream;
intermediary method_46754
Lnet/minecraft/class_7225;method_46754()Ljava/util/stream/Stream;
official c_
Ljs;c_()Ljava/util/stream/Stream;
-
getTags
Stream<RegistryEntryList.Named<T>> getTags()- 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;
-
streamTagKeys
- Mappings:
Namespace Name Mixin selector named streamTagKeys
Lnet/minecraft/registry/RegistryWrapper;streamTagKeys()Ljava/util/stream/Stream;
intermediary method_46755
Lnet/minecraft/class_7225;method_46755()Ljava/util/stream/Stream;
official f
Ljs;f()Ljava/util/stream/Stream;
-