Class RegistryBuilder.LazyReferenceEntry<T>

java.lang.Object
net.minecraft.registry.entry.RegistryEntry.Reference<T>
net.minecraft.registry.RegistryBuilder.LazyReferenceEntry<T>
All Implemented Interfaces:
RegistryEntry<T>
Enclosing class:
RegistryBuilder

private static class RegistryBuilder.LazyReferenceEntry<T> extends RegistryEntry.Reference<T>
Mappings:
Namespace Name
named net/minecraft/registry/RegistryBuilder$LazyReferenceEntry
intermediary net/minecraft/class_7877$class_8992
official jy$f
  • Field Details

    • supplier

      Mappings:
      Namespace Name Mixin selector
      named supplier Lnet/minecraft/registry/RegistryBuilder$LazyReferenceEntry;supplier:Ljava/util/function/Supplier;
      intermediary field_47490 Lnet/minecraft/class_7877$class_8992;field_47490:Ljava/util/function/Supplier;
      official a Ljy$f;a:Ljava/util/function/Supplier;
  • Constructor Details

    • LazyReferenceEntry

      protected LazyReferenceEntry(RegistryEntryOwner<T> owner, @Nullable @Nullable RegistryKey<T> key)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/registry/RegistryBuilder$LazyReferenceEntry;<init>(Lnet/minecraft/registry/entry/RegistryEntryOwner;Lnet/minecraft/registry/RegistryKey;)V
      intermediary <init> Lnet/minecraft/class_7877$class_8992;<init>(Lnet/minecraft/class_7876;Lnet/minecraft/class_5321;)V
      official <init> Ljy$f;<init>(Ljl;Lale;)V
  • Method Details

    • setValue

      protected void setValue(T value)
      Overrides:
      setValue in class RegistryEntry.Reference<T>
      Mappings:
      Namespace Name Mixin selector
      named setValue Lnet/minecraft/registry/entry/RegistryEntry$Reference;setValue(Ljava/lang/Object;)V
      intermediary method_45918 Lnet/minecraft/class_6880$class_6883;method_45918(Ljava/lang/Object;)V
      official b Lji$c;b(Ljava/lang/Object;)V
    • value

      public T value()
      Specified by:
      value in interface RegistryEntry<T>
      Overrides:
      value in class RegistryEntry.Reference<T>
      Mappings:
      Namespace Name Mixin selector
      named value Lnet/minecraft/registry/entry/RegistryEntry;value()Ljava/lang/Object;
      intermediary comp_349 Lnet/minecraft/class_6880;comp_349()Ljava/lang/Object;
      official a Lji;a()Ljava/lang/Object;