Uses of Record Class
net.minecraft.world.entity.animal.pig.PigSoundVariant.PigSoundSet
Packages that use PigSoundVariant.PigSoundSet
-
Uses of PigSoundVariant.PigSoundSet in net.minecraft.world.entity.animal.pig
Fields in net.minecraft.world.entity.animal.pig declared as PigSoundVariant.PigSoundSetModifier and TypeFieldDescriptionprivate final PigSoundVariant.PigSoundSetPigSoundVariant.adultSoundsThe field for theadultSoundsrecord component.private final PigSoundVariant.PigSoundSetPigSoundVariant.babySoundsThe field for thebabySoundsrecord component.Fields in net.minecraft.world.entity.animal.pig with type parameters of type PigSoundVariant.PigSoundSetModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<PigSoundVariant.PigSoundSet> PigSoundVariant.PigSoundSet.CODECMethods in net.minecraft.world.entity.animal.pig that return PigSoundVariant.PigSoundSetModifier and TypeMethodDescriptionPigSoundVariant.adultSounds()Returns the value of theadultSoundsrecord component.PigSoundVariant.babySounds()Returns the value of thebabySoundsrecord component.private PigSoundVariant.PigSoundSetPig.getSoundSet()Constructors in net.minecraft.world.entity.animal.pig with parameters of type PigSoundVariant.PigSoundSetModifierConstructorDescriptionPigSoundVariant(PigSoundVariant.PigSoundSet adultSounds, PigSoundVariant.PigSoundSet babySounds) Creates an instance of aPigSoundVariantrecord class.