net.minecraft.entity.passive

public record ChickenSoundVariant

implements AnimalSoundVariant<ChickenSoundVariant$Subvariant>

net.minecraft.world.entity.animal.chicken.ChickenSoundVariant
net.minecraft.class_1_346
net.minecraft.entity.passive.ChickenSoundVariant

Field summary

Modifier and TypeField
private final ChickenSoundVariant$Subvariant
adultSounds
comp_1_250
adultSounds
private final ChickenSoundVariant$Subvariant
babySounds
comp_1_251
babySounds
public static final com.mojang.serialization.Codec<ChickenSoundVariant>
DIRECT_CODEC
field_1_1994
CODEC
public static final com.mojang.serialization.Codec<RegistryEntry<ChickenSoundVariant>>
CODEC
field_1_1993
ENTRY_CODEC
public static final PacketCodec<RegistryByteBuf, RegistryEntry<ChickenSoundVariant>>
STREAM_CODEC
field_1_1996
PACKET_CODEC

Constructor summary

ModifierConstructor
public (ChickenSoundVariant$Subvariant getAdultSounds, ChickenSoundVariant$Subvariant getBabySounds)

Method summary

Modifier and TypeMethod
public ChickenSoundVariant$Subvariant
adultSounds()
method_1_11623()
getAdultSounds()
public ChickenSoundVariant$Subvariant
babySounds()
method_1_11624()
getBabySounds()
public Object
babySounds()
method_1_11624()
getBabySounds()
public Object
adultSounds()
method_1_11623()
getAdultSounds()