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>

public static interface RegistryWrapper.Impl.Delegating<T> extends RegistryWrapper.Impl<T>
Mappings:
Namespace Name
named net/minecraft/registry/RegistryWrapper$Impl$Delegating
intermediary net/minecraft/class_7225$class_7226$class_7875
official jo$b$a
  • Method Details

    • 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 Ljo$b$a;a()Ljo$b;
    • getRegistryKey

      default RegistryKey<? extends Registry<? extends T>> getRegistryKey()
      Specified by:
      getRegistryKey in interface RegistryWrapper.Impl<T>
      Mappings:
      Namespace Name Mixin selector
      named getRegistryKey Lnet/minecraft/registry/RegistryWrapper$Impl;getRegistryKey()Lnet/minecraft/registry/RegistryKey;
      intermediary method_46765 Lnet/minecraft/class_7225$class_7226;method_46765()Lnet/minecraft/class_5321;
      official f Ljo$b;f()Lakq;
    • getLifecycle

      default com.mojang.serialization.Lifecycle getLifecycle()
      Specified by:
      getLifecycle in interface RegistryWrapper.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 g Ljo$b;g()Lcom/mojang/serialization/Lifecycle;
    • getOptional

      default Optional<RegistryEntry.Reference<T>> getOptional(RegistryKey<T> key)
      Specified by:
      getOptional in interface RegistryEntryLookup<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 Ljn;a(Lakq;)Ljava/util/Optional;
    • streamEntries

      default Stream<RegistryEntry.Reference<T>> streamEntries()
      Returns a stream of registry keys defined in the wrapped registry.
      Specified by:
      streamEntries in interface RegistryWrapper<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 b Ljo;b()Ljava/util/stream/Stream;
    • getOptional

      default Optional<RegistryEntryList.Named<T>> getOptional(TagKey<T> tag)
      Specified by:
      getOptional in interface RegistryEntryLookup<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 Ljn;a(Lawu;)Ljava/util/Optional;
    • streamTags

      default Stream<RegistryEntryList.Named<T>> streamTags()
      Specified by:
      streamTags in interface RegistryWrapper<T>
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named streamTags Lnet/minecraft/registry/RegistryWrapper;streamTags()Ljava/util/stream/Stream;
      intermediary method_42020 Lnet/minecraft/class_7225;method_42020()Ljava/util/stream/Stream;
      official d Ljo;d()Ljava/util/stream/Stream;