Uses of Record Class
net.minecraft.world.entity.animal.pig.PigSoundVariant
Packages that use PigSoundVariant
Package
Description
-
Uses of PigSoundVariant in net.minecraft.core.component
Fields in net.minecraft.core.component with type parameters of type PigSoundVariantModifier and TypeFieldDescriptionstatic final DataComponentType<Holder<PigSoundVariant>> DataComponents.PIG_SOUND_VARIANT -
Uses of PigSoundVariant in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type PigSoundVariantModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<PigSoundVariant>> Registries.PIG_SOUND_VARIANT -
Uses of PigSoundVariant in net.minecraft.network.syncher
Fields in net.minecraft.network.syncher with type parameters of type PigSoundVariantModifier and TypeFieldDescriptionstatic final EntityDataSerializer<Holder<PigSoundVariant>> EntityDataSerializers.PIG_SOUND_VARIANT -
Uses of PigSoundVariant in net.minecraft.sounds
Fields in net.minecraft.sounds with type parameters of type PigSoundVariantModifier and TypeFieldDescriptionstatic final Map<PigSoundVariants.SoundSet, PigSoundVariant> SoundEvents.PIG_SOUNDSMethods in net.minecraft.sounds that return types with arguments of type PigSoundVariantModifier and TypeMethodDescriptionprivate static Map<PigSoundVariants.SoundSet, PigSoundVariant> SoundEvents.registerPigSoundVariants() -
Uses of PigSoundVariant in net.minecraft.world.entity.animal.pig
Fields in net.minecraft.world.entity.animal.pig with type parameters of type PigSoundVariantModifier and TypeFieldDescriptionstatic final ResourceKey<PigSoundVariant> PigSoundVariants.BIGstatic final ResourceKey<PigSoundVariant> PigSoundVariants.CLASSICstatic final com.mojang.serialization.Codec<Holder<PigSoundVariant>> PigSoundVariant.CODECprivate static final EntityDataAccessor<Holder<PigSoundVariant>> static final com.mojang.serialization.Codec<PigSoundVariant> PigSoundVariant.DIRECT_CODECstatic final ResourceKey<PigSoundVariant> PigSoundVariants.MINIstatic final com.mojang.serialization.Codec<PigSoundVariant> PigSoundVariant.NETWORK_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<PigSoundVariant>> PigSoundVariant.STREAM_CODECMethods in net.minecraft.world.entity.animal.pig that return types with arguments of type PigSoundVariantModifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec<PigSoundVariant> PigSoundVariant.codec()private static ResourceKey<PigSoundVariant> PigSoundVariants.createKey(PigSoundVariants.SoundSet pigSoundVariant) private Holder<PigSoundVariant> Pig.getSoundVariant()static Holder<PigSoundVariant> PigSoundVariants.pickRandomSoundVariant(RegistryAccess registryAccess, RandomSource random) Method parameters in net.minecraft.world.entity.animal.pig with type arguments of type PigSoundVariantModifier and TypeMethodDescriptionstatic voidPigSoundVariants.bootstrap(BootstrapContext<PigSoundVariant> context) private static voidPigSoundVariants.register(BootstrapContext<PigSoundVariant> context, ResourceKey<PigSoundVariant> key, PigSoundVariants.SoundSet PigSoundVariant) private static voidPigSoundVariants.register(BootstrapContext<PigSoundVariant> context, ResourceKey<PigSoundVariant> key, PigSoundVariants.SoundSet PigSoundVariant) private voidPig.setSoundVariant(Holder<PigSoundVariant> soundVariant)