net.minecraft.entity.passive

public record CatSoundVariant

implements AnimalSoundVariant<CatSoundVariant$Subvariant>

net.minecraft.world.entity.animal.feline.CatSoundVariant
net.minecraft.class_1_334
net.minecraft.entity.passive.CatSoundVariant

Field summary

Modifier and TypeField
private final CatSoundVariant$Subvariant
adultSounds
comp_1_230
adultSounds
private final CatSoundVariant$Subvariant
babySounds
comp_1_231
babySounds
public static final com.mojang.serialization.Codec<CatSoundVariant>
DIRECT_CODEC
field_1_1958
CODEC
public static final com.mojang.serialization.Codec<RegistryEntry<CatSoundVariant>>
CODEC
field_1_1957
ENTRY_CODEC
public static final PacketCodec<RegistryByteBuf, RegistryEntry<CatSoundVariant>>
STREAM_CODEC
field_1_1960
PACKET_CODEC

Constructor summary

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

Method summary

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