Class RegistryBuilder.AnyOwner

java.lang.Object
net.minecraft.registry.RegistryBuilder.AnyOwner
All Implemented Interfaces:
RegistryEntryOwner<Object>
Enclosing class:
RegistryBuilder

private static class RegistryBuilder.AnyOwner extends Object implements RegistryEntryOwner<Object>
An owner that owns multiple registries and holds the owner object for those. ownerEquals(net.minecraft.registry.entry.RegistryEntryOwner<java.lang.Object>) returns true for all owners previously added.
Mappings:
Namespace Name
official ht$b
intermediary net/minecraft/class_7877$class_7879
named net/minecraft/registry/RegistryBuilder$AnyOwner
  • Field Details

    • owners

      private final Set<RegistryEntryOwner<?>> owners
      Mappings:
      Namespace Name Mixin selector
      official a Lht$b;a:Ljava/util/Set;
      intermediary field_40944 Lnet/minecraft/class_7877$class_7879;field_40944:Ljava/util/Set;
      named owners Lnet/minecraft/registry/RegistryBuilder$AnyOwner;owners:Ljava/util/Set;
  • Constructor Details

    • AnyOwner

      AnyOwner()
  • Method Details

    • ownerEquals

      public boolean ownerEquals(RegistryEntryOwner<Object> other)
      Specified by:
      ownerEquals in interface RegistryEntryOwner<Object>
      Mappings:
      Namespace Name Mixin selector
      official a Lhg;a(Lhg;)Z
      intermediary method_46767 Lnet/minecraft/class_7876;method_46767(Lnet/minecraft/class_7876;)Z
      named ownerEquals Lnet/minecraft/registry/entry/RegistryEntryOwner;ownerEquals(Lnet/minecraft/registry/entry/RegistryEntryOwner;)Z
    • addOwner

      public void addOwner(RegistryEntryOwner<?> owner)
      Mappings:
      Namespace Name Mixin selector
      official b Lht$b;b(Lhg;)V
      intermediary method_46801 Lnet/minecraft/class_7877$class_7879;method_46801(Lnet/minecraft/class_7876;)V
      named addOwner Lnet/minecraft/registry/RegistryBuilder$AnyOwner;addOwner(Lnet/minecraft/registry/entry/RegistryEntryOwner;)V