Interface RegistryWrapper.WrapperLookup

All Known Subinterfaces:
CommandRegistryAccess, DynamicRegistryManager, DynamicRegistryManager.Immutable
All Known Implementing Classes:
DataPackContents.ConfigurableWrapperLookup, DynamicRegistryManager.ImmutableImpl, ReloadableRegistries.ReloadableWrapperLookup
Enclosing interface:
RegistryWrapper<T>

public static interface RegistryWrapper.WrapperLookup
Mappings:
Namespace Name
named net/minecraft/registry/RegistryWrapper$WrapperLookup
intermediary net/minecraft/class_7225$class_7874
official jl$a
  • Method Details

    • streamAllRegistryKeys

      Stream<RegistryKey<? extends Registry<?>>> streamAllRegistryKeys()
      Mappings:
      Namespace Name Mixin selector
      named streamAllRegistryKeys Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;streamAllRegistryKeys()Ljava/util/stream/Stream;
      intermediary method_55282 Lnet/minecraft/class_7225$class_7874;method_55282()Ljava/util/stream/Stream;
      official a Ljl$a;a()Ljava/util/stream/Stream;
    • getOptionalWrapper

      <T> Optional<RegistryWrapper.Impl<T>> getOptionalWrapper(RegistryKey<? extends Registry<? extends T>> registryRef)
      Mappings:
      Namespace Name Mixin selector
      named getOptionalWrapper Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;getOptionalWrapper(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
      intermediary method_46759 Lnet/minecraft/class_7225$class_7874;method_46759(Lnet/minecraft/class_5321;)Ljava/util/Optional;
      official a Ljl$a;a(Lakj;)Ljava/util/Optional;
    • getWrapperOrThrow

      default <T> RegistryWrapper.Impl<T> getWrapperOrThrow(RegistryKey<? extends Registry<? extends T>> registryRef)
      Mappings:
      Namespace Name Mixin selector
      named getWrapperOrThrow Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;getWrapperOrThrow(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/registry/RegistryWrapper$Impl;
      intermediary method_46762 Lnet/minecraft/class_7225$class_7874;method_46762(Lnet/minecraft/class_5321;)Lnet/minecraft/class_7225$class_7226;
      official b Ljl$a;b(Lakj;)Ljl$b;
    • getOps

      default <V> RegistryOps<V> getOps(com.mojang.serialization.DynamicOps<V> delegate)
      Mappings:
      Namespace Name Mixin selector
      named getOps Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;getOps(Lcom/mojang/serialization/DynamicOps;)Lnet/minecraft/registry/RegistryOps;
      intermediary method_57093 Lnet/minecraft/class_7225$class_7874;method_57093(Lcom/mojang/serialization/DynamicOps;)Lnet/minecraft/class_6903;
      official a Ljl$a;a(Lcom/mojang/serialization/DynamicOps;)Laki;
    • createRegistryLookup

      default RegistryEntryLookup.RegistryLookup createRegistryLookup()
      Mappings:
      Namespace Name Mixin selector
      named createRegistryLookup Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;createRegistryLookup()Lnet/minecraft/registry/RegistryEntryLookup$RegistryLookup;
      intermediary method_46758 Lnet/minecraft/class_7225$class_7874;method_46758()Lnet/minecraft/class_7871$class_7872;
      official b Ljl$a;b()Ljk$a;
    • of

      Mappings:
      Namespace Name Mixin selector
      named of Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;of(Ljava/util/stream/Stream;)Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;
      intermediary method_46761 Lnet/minecraft/class_7225$class_7874;method_46761(Ljava/util/stream/Stream;)Lnet/minecraft/class_7225$class_7874;
      official a Ljl$a;a(Ljava/util/stream/Stream;)Ljl$a;