net.minecraft.entity.passive

public record ChickenSoundVariant$Subvariant

net.minecraft.world.entity.animal.chicken.ChickenSoundVariant$ChickenSoundSet
net.minecraft.class_1_346$class_1_347
net.minecraft.entity.passive.ChickenSoundVariant$Subvariant

Field summary

Modifier and TypeField
private final Optional<RegistryEntry<SoundEvent>>
ambientSound
comp_1_252
ambientSound
private final Optional<RegistryEntry<SoundEvent>>
hurtSound
comp_1_254
hurtSound
private final Optional<RegistryEntry<SoundEvent>>
deathSound
comp_1_253
deathSound
private final Optional<RegistryEntry<SoundEvent>>
stepSound
comp_1_255
stepSound
private static final com.mojang.serialization.Codec<ChickenSoundVariant$Subvariant>
CODEC
field_1_1997
CODEC

Constructor summary

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

Method summary

Modifier and TypeMethod
public Optional<RegistryEntry<SoundEvent>>
ambientSound()
comp_1_252()
ambientSound()
public Optional<RegistryEntry<SoundEvent>>
hurtSound()
comp_1_254()
hurtSound()
public Optional<RegistryEntry<SoundEvent>>
deathSound()
comp_1_253()
deathSound()
public Optional<RegistryEntry<SoundEvent>>
stepSound()
comp_1_255()
stepSound()
private static com.mojang.datafixers.kinds.App
lambda$static$0(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_1_2420(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_1_2420(com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)