Uses of Record Class
net.minecraft.registry.RegistryPair
Packages that use RegistryPair
-
Uses of RegistryPair in net.minecraft.component.type
Fields in net.minecraft.component.type declared as RegistryPairModifier and TypeFieldDescriptionprivate final RegistryPair<JukeboxSong> JukeboxPlayableComponent.songThe field for thesongrecord component.Methods in net.minecraft.component.type that return RegistryPairModifier and TypeMethodDescriptionJukeboxPlayableComponent.song()Returns the value of thesongrecord component.Constructors in net.minecraft.component.type with parameters of type RegistryPairModifierConstructorDescriptionJukeboxPlayableComponent(RegistryPair<JukeboxSong> registryPair, boolean bool) -
Uses of RegistryPair in net.minecraft.registry
Methods in net.minecraft.registry that return RegistryPairModifier and TypeMethodDescriptionstatic <T> RegistryPair<T> RegistryPair.create(com.mojang.datafixers.util.Either<RegistryEntry<T>, RegistryKey<T>> entryOrKey) Methods in net.minecraft.registry that return types with arguments of type RegistryPairModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<RegistryPair<T>> RegistryPair.createCodec(RegistryKey<Registry<T>> registryRef, com.mojang.serialization.Codec<RegistryEntry<T>> entryCodec) static <T> PacketCodec<RegistryByteBuf, RegistryPair<T>> RegistryPair.createPacketCodec(RegistryKey<Registry<T>> registryRef, PacketCodec<RegistryByteBuf, RegistryEntry<T>> entryPacketCodec)