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.instrumentThe field for theinstrumentrecord component.private final LazyRegistryEntryReference<ArmorTrimMaterial> ProvidesTrimMaterialComponent.materialThe field for thematerialrecord component.private final LazyRegistryEntryReference<JukeboxSong> JukeboxPlayableComponent.songThe field for thesongrecord component.Methods in net.minecraft.component.type that return LazyRegistryEntryReferenceModifier and TypeMethodDescriptionInstrumentComponent.instrument()Returns the value of theinstrumentrecord component.ProvidesTrimMaterialComponent.material()Returns the value of thematerialrecord component.JukeboxPlayableComponent.song()Returns the value of thesongrecord 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)