net.minecraft.entity.passive

public record CowSoundVariant

net.minecraft.world.entity.animal.cow.CowSoundVariant
net.minecraft.class_1_323
net.minecraft.entity.passive.CowSoundVariant

Field summary

Modifier and TypeField
private final RegistryEntry<SoundEvent>
ambientSound
comp_1_217
ambientSound
private final RegistryEntry<SoundEvent>
hurtSound
comp_1_219
hurtSound
private final RegistryEntry<SoundEvent>
deathSound
comp_1_218
deathSound
private final RegistryEntry<SoundEvent>
stepSound
comp_1_220
stepSound
public static final com.mojang.serialization.Codec<CowSoundVariant>
DIRECT_CODEC
field_1_1909
CODEC
public static final com.mojang.serialization.Codec<CowSoundVariant>
NETWORK_CODEC
field_1_1910
NETWORK_CODEC
public static final com.mojang.serialization.Codec<RegistryEntry<CowSoundVariant>>
CODEC
field_1_1908
ENTRY_CODEC
public static final PacketCodec<RegistryByteBuf, RegistryEntry<CowSoundVariant>>
STREAM_CODEC
field_1_1911
PACKET_CODEC

Constructor summary

ModifierConstructor
public (RegistryEntry<SoundEvent> ambientSound, RegistryEntry<SoundEvent> hurtSound, RegistryEntry<SoundEvent> deathSound, RegistryEntry<SoundEvent> stepSound)

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.Codec<CowSoundVariant>
codec()
method_1_2340()
createCodec()
public RegistryEntry<SoundEvent>
ambientSound()
comp_1_217()
ambientSound()
public RegistryEntry<SoundEvent>
hurtSound()
comp_1_219()
hurtSound()
public RegistryEntry<SoundEvent>
deathSound()
comp_1_218()
deathSound()
public RegistryEntry<SoundEvent>
stepSound()
comp_1_220()
stepSound()
private static com.mojang.datafixers.kinds.App
lambda$codec$0(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_1_2341(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_1_2341(com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)