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 hp$bintermediary net/minecraft/class_7877$class_7879named net/minecraft/registry/RegistryBuilder$AnyOwner
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOwner(RegistryEntryOwner<?> owner) booleanownerEquals(RegistryEntryOwner<Object> other)
-
Field Details
-
owners
- Mappings:
Namespace Name Mixin selector official aLhp$b;a:Ljava/util/Set;intermediary field_40944Lnet/minecraft/class_7877$class_7879;field_40944:Ljava/util/Set;named ownersLnet/minecraft/registry/RegistryBuilder$AnyOwner;owners:Ljava/util/Set;
-
-
Constructor Details
-
AnyOwner
AnyOwner()
-
-
Method Details
-
ownerEquals
- Specified by:
ownerEqualsin interfaceRegistryEntryOwner<Object>- Mappings:
Namespace Name Mixin selector official aLhc;a(Lhc;)Zintermediary method_46767Lnet/minecraft/class_7876;method_46767(Lnet/minecraft/class_7876;)Znamed ownerEqualsLnet/minecraft/registry/entry/RegistryEntryOwner;ownerEquals(Lnet/minecraft/registry/entry/RegistryEntryOwner;)Z
-
addOwner
- Mappings:
Namespace Name Mixin selector official bLhp$b;b(Lhc;)Vintermediary method_46801Lnet/minecraft/class_7877$class_7879;method_46801(Lnet/minecraft/class_7876;)Vnamed addOwnerLnet/minecraft/registry/RegistryBuilder$AnyOwner;addOwner(Lnet/minecraft/registry/entry/RegistryEntryOwner;)V
-