Uses of Interface
net.minecraft.registry.entry.RegistryEntryOwner
-
Uses of RegistryEntryOwner in net.minecraft.registry
Modifier and TypeClassDescriptionprivate static class
An owner that owns multiple registries and holds the owner object for those.static class
Modifier and TypeFieldDescriptionprotected final RegistryEntryOwner<T>
RegistryBuilder.EntryListCreatingLookup.entryOwner
private final RegistryEntryOwner<T>
RegistryOps.RegistryInfo.owner
The field for theowner
record component.Modifier and TypeFieldDescriptionprivate final Set<RegistryEntryOwner<?>>
RegistryBuilder.AnyOwner.owners
Modifier and TypeMethodDescription<T> RegistryEntryOwner<T>
RegistryBuilder.AnyOwner.downcast()
Registry.getEntryOwner()
SimpleRegistry.getEntryOwner()
RegistryOps.RegistryInfo.owner()
Returns the value of theowner
record component.Modifier and TypeMethodDescription<E> Optional<RegistryEntryOwner<E>>
RegistryOps.getOwner
(RegistryKey<? extends Registry<? extends E>> registryRef) Modifier and TypeMethodDescriptionvoid
RegistryBuilder.AnyOwner.addOwner
(RegistryEntryOwner<?> owner) private <T> RegistryWrapper.Impl<T>
RegistryBuilder.applyPatches
(RegistryEntryOwner<T> owner, RegistryCloner.CloneableRegistries cloneableRegistries, RegistryKey<? extends Registry<? extends T>> registryRef, RegistryWrapper.WrapperLookup patches, RegistryWrapper.WrapperLookup base, MutableObject<RegistryWrapper.WrapperLookup> lazyWrapper) boolean
RegistryBuilder.AnyOwner.ownerEquals
(RegistryEntryOwner<Object> other) ModifierConstructorDescriptionprotected
EntryListCreatingLookup
(RegistryEntryOwner<T> entryOwner) protected
LazyReferenceEntry
(RegistryEntryOwner<T> owner, @Nullable RegistryKey<T> key) RegistryInfo
(RegistryEntryOwner<T> registryEntryOwner, RegistryEntryLookup<T> registryEntryLookup, com.mojang.serialization.Lifecycle lifecycle) StandAloneEntryCreatingLookup
(RegistryEntryOwner<Object> entryOwner) -
Uses of RegistryEntryOwner in net.minecraft.registry.entry
Modifier and TypeFieldDescriptionprivate final RegistryEntryOwner<T>
RegistryEntry.Reference.owner
private final RegistryEntryOwner<T>
RegistryEntryList.Named.owner
Modifier and TypeMethodDescriptionstatic <T> RegistryEntry.Reference<T>
RegistryEntry.Reference.intrusive
(RegistryEntryOwner<T> owner, T value) Deprecated.Intrusive holders exist for legacy reasons only.static <T> RegistryEntryList.Named<T>
RegistryEntryList.of
(RegistryEntryOwner<T> owner, TagKey<T> tagKey) Deprecated.boolean
RegistryEntry.Direct.ownerEquals
(RegistryEntryOwner<T> owner) boolean
RegistryEntry.ownerEquals
(RegistryEntryOwner<T> owner) boolean
RegistryEntry.Reference.ownerEquals
(RegistryEntryOwner<T> owner) boolean
RegistryEntryList.ListBacked.ownerEquals
(RegistryEntryOwner<T> owner) boolean
RegistryEntryList.Named.ownerEquals
(RegistryEntryOwner<T> owner) boolean
RegistryEntryList.ownerEquals
(RegistryEntryOwner<T> owner) default boolean
RegistryEntryOwner.ownerEquals
(RegistryEntryOwner<T> other) static <T> RegistryEntry.Reference<T>
RegistryEntry.Reference.standAlone
(RegistryEntryOwner<T> owner, RegistryKey<T> registryKey) Returns a new stand-alone registry entry.ModifierConstructorDescription(package private)
Named
(RegistryEntryOwner<T> owner, TagKey<T> tag) protected
Reference
(RegistryEntry.Reference.Type referenceType, RegistryEntryOwner<T> owner, @Nullable RegistryKey<T> registryKey, T value)