Uses of Record Class
net.minecraft.class_9791
-
Uses of class_9791 in net.minecraft
Modifier and TypeFieldDescriptionprivate final class_9791
<class_9793> class_9792.song
The field for thesong
record component.Modifier and TypeMethodDescriptionstatic <T> class_9791
<T> class_9791.method_60738
(com.mojang.datafixers.util.Either<RegistryEntry<T>, RegistryKey<T>> either) class_9792.song()
Returns the value of thesong
record component.Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec
<class_9791<T>> class_9791.method_60736
(RegistryKey<Registry<T>> registryKey, com.mojang.serialization.Codec<RegistryEntry<T>> codec) static <T> PacketCodec
<RegistryByteBuf, class_9791<T>> class_9791.method_60737
(RegistryKey<Registry<T>> registryKey, PacketCodec<RegistryByteBuf, RegistryEntry<T>> packetCodec)