Package net.minecraft.registry
Class RegistryBuilder.AnyOwner
java.lang.Object
net.minecraft.registry.RegistryBuilder.AnyOwner
- All Implemented Interfaces:
RegistryEntryOwner<Object>
- Enclosing class:
RegistryBuilder
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 hu$b
intermediary net/minecraft/class_7877$class_7879
named net/minecraft/registry/RegistryBuilder$AnyOwner
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addOwner
(RegistryEntryOwner<?> owner) boolean
ownerEquals
(RegistryEntryOwner<Object> other)
-
Field Details
-
owners
- Mappings:
Namespace Name Mixin selector official a
Lhu$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
- Specified by:
ownerEquals
in interfaceRegistryEntryOwner<Object>
- Mappings:
Namespace Name Mixin selector official a
Lhh;a(Lhh;)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
- Mappings:
Namespace Name Mixin selector official b
Lhu$b;b(Lhh;)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
-