net.minecraft.entity.passive

public record WolfSoundVariant

net.minecraft.world.entity.animal.wolf.WolfSoundVariant
net.minecraft.class_10823
net.minecraft.entity.passive.WolfSoundVariant

Field summary

Modifier and TypeField
private final RegistryEntry<SoundEvent>
ambientSound
comp_3779
ambientSound
private final RegistryEntry<SoundEvent>
deathSound
comp_3780
deathSound
private final RegistryEntry<SoundEvent>
growlSound
comp_3781
growlSound
private final RegistryEntry<SoundEvent>
hurtSound
comp_3782
hurtSound
private final RegistryEntry<SoundEvent>
pantSound
comp_3783
pantSound
private final RegistryEntry<SoundEvent>
whineSound
comp_3784
whineSound
public static final com.mojang.serialization.Codec<WolfSoundVariant>
DIRECT_CODEC
field_57076
CODEC
public static final com.mojang.serialization.Codec<WolfSoundVariant>
NETWORK_CODEC
field_57077
NETWORK_CODEC
public static final com.mojang.serialization.Codec<RegistryEntry<WolfSoundVariant>>
CODEC
field_57078
ENTRY_CODEC
public static final PacketCodec<RegistryByteBuf, RegistryEntry<WolfSoundVariant>>
STREAM_CODEC
field_57079
PACKET_CODEC

Constructor summary

ModifierConstructor
public (RegistryEntry<SoundEvent> ambientSound, RegistryEntry<SoundEvent> deathSound, RegistryEntry<SoundEvent> growlSound, RegistryEntry<SoundEvent> hurtSound, RegistryEntry<SoundEvent> pantSound, RegistryEntry<SoundEvent> whineSound)

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.Codec<WolfSoundVariant>
getWolfSoundVariantCodec()
method_68134()
createCodec()
public RegistryEntry<SoundEvent>
ambientSound()
comp_3779()
ambientSound()
public RegistryEntry<SoundEvent>
deathSound()
comp_3780()
deathSound()
public RegistryEntry<SoundEvent>
growlSound()
comp_3781()
growlSound()
public RegistryEntry<SoundEvent>
hurtSound()
comp_3782()
hurtSound()
public RegistryEntry<SoundEvent>
pantSound()
comp_3783()
pantSound()
public RegistryEntry<SoundEvent>
whineSound()
comp_3784()
whineSound()
private static com.mojang.datafixers.kinds.App
lambda$getWolfSoundVariantCodec$0(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_68133(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_68133(com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)