Package net.minecraft.registry
Interface RegistryWrapper<T>
- All Superinterfaces:
RegistryEntryLookup<T>
- All Known Subinterfaces:
RegistryWrapper.Impl<T>
- All Known Implementing Classes:
RegistryWrapper.Delegating,RegistryWrapper.Impl.Delegating
A read-only wrapper of a registry.
- Mappings:
Namespace Name official hgintermediary net/minecraft/class_7225named net/minecraft/registry/RegistryWrapper
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic interfacestatic interfaceNested classes/interfaces inherited from interface net.minecraft.registry.RegistryEntryLookup
RegistryEntryLookup.RegistryLookup -
Method Summary
Modifier and TypeMethodDescriptiondefault RegistryWrapper<T>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 official bLhg;b()Ljava/util/stream/Stream;intermediary method_42017Lnet/minecraft/class_7225;method_42017()Ljava/util/stream/Stream;named streamEntriesLnet/minecraft/registry/RegistryWrapper;streamEntries()Ljava/util/stream/Stream;
-
streamKeys
- Mappings:
Namespace Name Mixin selector official cLhg;c()Ljava/util/stream/Stream;intermediary method_46754Lnet/minecraft/class_7225;method_46754()Ljava/util/stream/Stream;named streamKeysLnet/minecraft/registry/RegistryWrapper;streamKeys()Ljava/util/stream/Stream;
-
streamTags
Stream<RegistryEntryList.Named<T>> streamTags()- See Also:
- Mappings:
Namespace Name Mixin selector official dLhg;d()Ljava/util/stream/Stream;intermediary method_42020Lnet/minecraft/class_7225;method_42020()Ljava/util/stream/Stream;named streamTagsLnet/minecraft/registry/RegistryWrapper;streamTags()Ljava/util/stream/Stream;
-
streamTagKeys
- Mappings:
Namespace Name Mixin selector official eLhg;e()Ljava/util/stream/Stream;intermediary method_46755Lnet/minecraft/class_7225;method_46755()Ljava/util/stream/Stream;named streamTagKeysLnet/minecraft/registry/RegistryWrapper;streamTagKeys()Ljava/util/stream/Stream;
-
filter
- Mappings:
Namespace Name Mixin selector official aLhg;a(Ljava/util/function/Predicate;)Lhg;intermediary method_46753Lnet/minecraft/class_7225;method_46753(Ljava/util/function/Predicate;)Lnet/minecraft/class_7225;named filterLnet/minecraft/registry/RegistryWrapper;filter(Ljava/util/function/Predicate;)Lnet/minecraft/registry/RegistryWrapper;
-