net.minecraft.entity.passive

public record PigSoundVariant$Subvariant

net.minecraft.world.entity.animal.pig.PigSoundVariant$PigSoundSet
net.minecraft.world.entity.animal.pig.PigSoundVariant$PigSoundSet
net.minecraft.class_1_324$class_1_325
net.minecraft.entity.passive.PigSoundVariant$Subvariant

Field summary

Modifier and TypeField
private final RegistryEntry<SoundEvent>
ambientSound
ambientSound
comp_1_223
ambientSound
private final RegistryEntry<SoundEvent>
hurtSound
hurtSound
comp_1_225
hurtSound
private final RegistryEntry<SoundEvent>
deathSound
deathSound
comp_1_224
deathSound
private final RegistryEntry<SoundEvent>
stepSound
stepSound
comp_1_226
stepSound
private final RegistryEntry<SoundEvent>
eatSound
eatSound
comp_1_304
eatSound
public static final com.mojang.serialization.Codec<PigSoundVariant$Subvariant>
CODEC
CODEC
field_1_1916
CODEC

Constructor summary

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

Method summary

Modifier and TypeMethod
public RegistryEntry<SoundEvent>
ambientSound()
ambientSound()
comp_1_223()
ambientSound()
public RegistryEntry<SoundEvent>
hurtSound()
hurtSound()
comp_1_225()
hurtSound()
public RegistryEntry<SoundEvent>
deathSound()
deathSound()
comp_1_224()
deathSound()
public RegistryEntry<SoundEvent>
stepSound()
stepSound()
comp_1_226()
stepSound()
public RegistryEntry<SoundEvent>
eatSound()
eatSound()
comp_1_304()
eatSound()