Interface RegistryEntryLookup.RegistryLookup

Enclosing interface:
RegistryEntryLookup<T>

public static interface RegistryEntryLookup.RegistryLookup
Mappings:
Namespace Name
official hf$a
intermediary net/minecraft/class_7871$class_7872
named net/minecraft/registry/RegistryEntryLookup$RegistryLookup
  • Method Details

    • getOptional

      <T> Optional<RegistryEntryLookup<T>> getOptional(RegistryKey<? extends Registry<? extends T>> registryRef)
      Mappings:
      Namespace Name Mixin selector
      official a Lhf$a;a(Lacp;)Ljava/util/Optional;
      intermediary method_46750 Lnet/minecraft/class_7871$class_7872;method_46750(Lnet/minecraft/class_5321;)Ljava/util/Optional;
      named getOptional Lnet/minecraft/registry/RegistryEntryLookup$RegistryLookup;getOptional(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
    • getOrThrow

      default <T> RegistryEntryLookup<T> getOrThrow(RegistryKey<? extends Registry<? extends T>> registryRef)
      Mappings:
      Namespace Name Mixin selector
      official b Lhf$a;b(Lacp;)Lhf;
      intermediary method_46751 Lnet/minecraft/class_7871$class_7872;method_46751(Lnet/minecraft/class_5321;)Lnet/minecraft/class_7871;
      named getOrThrow Lnet/minecraft/registry/RegistryEntryLookup$RegistryLookup;getOrThrow(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/registry/RegistryEntryLookup;