Uses of Interface
net.minecraft.registry.entry.RegistryEntryOwner
-
Uses of RegistryEntryOwner in net.minecraft.registry
Modifier and TypeInterfaceDescriptioninterface
interface
A registry that allows adding or modifying values.interface
Registry<T>
A registry is used to register various in-game components.static interface
static interface
Modifier and TypeClassDescriptionprivate static class
private static class
private static class
class
An implementation ofRegistry
with a default ID and value for unknown lookups.class
An implementation of a mutable registry.Modifier and TypeFieldDescriptionprotected final RegistryEntryOwner
<T> RegistryBuilder.EntryListCreatingLookup.entryOwner
private final RegistryEntryOwner
<T> RegistryOps.RegistryInfo.owner
The field for theowner
record component.Modifier and TypeMethodDescription<T> RegistryEntryOwner
<T> RegistryBuilder.AnyOwner.downcast()
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 TypeMethodDescriptionprivate <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) (package private) static <T> RegistryWrapper.Impl
<T> RegistryBuilder.createWrapper
(RegistryKey<? extends Registry<? extends T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, RegistryEntryOwner<T> owner, Map<RegistryKey<T>, RegistryEntry.Reference<T>> entries) 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) (package private)
UntaggedDelegatingLookup
(RegistryEntryOwner<T> entryOwner, RegistryWrapper.Impl<T> base) protected
UntaggedLookup
(RegistryEntryOwner<T> 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)