Class RegistryOps.CachedRegistryInfoGetter

java.lang.Object
net.minecraft.registry.RegistryOps.CachedRegistryInfoGetter
All Implemented Interfaces:
RegistryOps.RegistryInfoGetter
Enclosing class:
RegistryOps<T>

private static final class RegistryOps.CachedRegistryInfoGetter extends Object implements RegistryOps.RegistryInfoGetter
Mappings:
Namespace Name
named net/minecraft/registry/RegistryOps$CachedRegistryInfoGetter
intermediary net/minecraft/class_6903$class_9683
official akt$a
  • Field Details Link icon

    • registries Link icon

      private final RegistryWrapper.WrapperLookup registries
      Mappings:
      Namespace Name Mixin selector
      named registries Lnet/minecraft/registry/RegistryOps$CachedRegistryInfoGetter;registries:Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;
      intermediary field_51501 Lnet/minecraft/class_6903$class_9683;field_51501:Lnet/minecraft/class_7225$class_7874;
      official a Lakt$a;a:Ljt$a;
    • cache Link icon

      private final Map<RegistryKey<? extends Registry<?>>,Optional<? extends RegistryOps.RegistryInfo<?>>> cache
      Mappings:
      Namespace Name Mixin selector
      named cache Lnet/minecraft/registry/RegistryOps$CachedRegistryInfoGetter;cache:Ljava/util/Map;
      intermediary field_51502 Lnet/minecraft/class_6903$class_9683;field_51502:Ljava/util/Map;
      official b Lakt$a;b:Ljava/util/Map;
  • Constructor Details Link icon

    • CachedRegistryInfoGetter Link icon

      public CachedRegistryInfoGetter(RegistryWrapper.WrapperLookup registries)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/registry/RegistryOps$CachedRegistryInfoGetter;<init>(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
      intermediary <init> Lnet/minecraft/class_6903$class_9683;<init>(Lnet/minecraft/class_7225$class_7874;)V
      official <init> Lakt$a;<init>(Ljt$a;)V
  • Method Details Link icon

    • getRegistryInfo Link icon

      public <E> Optional<RegistryOps.RegistryInfo<E>> getRegistryInfo(RegistryKey<? extends Registry<? extends E>> registryRef)
      Specified by:
      getRegistryInfo in interface RegistryOps.RegistryInfoGetter
      Mappings:
      Namespace Name Mixin selector
      named getRegistryInfo Lnet/minecraft/registry/RegistryOps$RegistryInfoGetter;getRegistryInfo(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
      intermediary method_46623 Lnet/minecraft/class_6903$class_7863;method_46623(Lnet/minecraft/class_5321;)Ljava/util/Optional;
      official a Lakt$c;a(Laku;)Ljava/util/Optional;
    • compute Link icon

      private Optional<RegistryOps.RegistryInfo<Object>> compute(RegistryKey<? extends Registry<?>> registryRef)
      Mappings:
      Namespace Name Mixin selector
      named compute Lnet/minecraft/registry/RegistryOps$CachedRegistryInfoGetter;compute(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
      intermediary method_59855 Lnet/minecraft/class_6903$class_9683;method_59855(Lnet/minecraft/class_5321;)Ljava/util/Optional;
      official b Lakt$a;b(Laku;)Ljava/util/Optional;
    • equals Link icon

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      named equals Lnet/minecraft/registry/RegistryOps$CachedRegistryInfoGetter;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_6903$class_9683;equals(Ljava/lang/Object;)Z
      official equals Lakt$a;equals(Ljava/lang/Object;)Z
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class Object