Uses of Record Class
net.minecraft.registry.entry.LazyRegistryEntryReference
Packages that use LazyRegistryEntryReference
Package
Description
-
Uses of LazyRegistryEntryReference in net.minecraft.component
Fields in net.minecraft.component with type parameters of type LazyRegistryEntryReferenceModifier and TypeFieldDescriptionstatic final ComponentType
<LazyRegistryEntryReference<ChickenVariant>> DataComponentTypes.CHICKEN_VARIANT
-
Uses of LazyRegistryEntryReference in net.minecraft.component.type
Fields in net.minecraft.component.type declared as LazyRegistryEntryReferenceModifier and TypeFieldDescriptionprivate final LazyRegistryEntryReference
<Instrument> InstrumentComponent.instrument
The field for theinstrument
record component.private final LazyRegistryEntryReference
<ArmorTrimMaterial> ProvidesTrimMaterialComponent.material
The field for thematerial
record component.private final LazyRegistryEntryReference
<JukeboxSong> JukeboxPlayableComponent.song
The field for thesong
record component.Methods in net.minecraft.component.type that return LazyRegistryEntryReferenceModifier and TypeMethodDescriptionInstrumentComponent.instrument()
Returns the value of theinstrument
record component.ProvidesTrimMaterialComponent.material()
Returns the value of thematerial
record component.JukeboxPlayableComponent.song()
Returns the value of thesong
record component.Constructors in net.minecraft.component.type with parameters of type LazyRegistryEntryReferenceModifierConstructorDescriptionInstrumentComponent
(LazyRegistryEntryReference<Instrument> lazyRegistryEntryReference) JukeboxPlayableComponent
(LazyRegistryEntryReference<JukeboxSong> lazyRegistryEntryReference) ProvidesTrimMaterialComponent
(LazyRegistryEntryReference<ArmorTrimMaterial> lazyRegistryEntryReference) -
Uses of LazyRegistryEntryReference in net.minecraft.registry.entry
Methods in net.minecraft.registry.entry that return types with arguments of type LazyRegistryEntryReferenceModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec
<LazyRegistryEntryReference<T>> LazyRegistryEntryReference.createCodec
(RegistryKey<Registry<T>> registryRef, com.mojang.serialization.Codec<RegistryEntry<T>> entryCodec) static <T> PacketCodec
<RegistryByteBuf, LazyRegistryEntryReference<T>> LazyRegistryEntryReference.createPacketCodec
(RegistryKey<Registry<T>> registryRef, PacketCodec<RegistryByteBuf, RegistryEntry<T>> entryPacketCodec)