Uses of Enum Class
net.minecraft.sound.SoundCategory
Packages that use SoundCategory
Package
Description
-
Uses of SoundCategory in net.minecraft.client.network
Methods in net.minecraft.client.network with parameters of type SoundCategoryModifier and TypeMethodDescriptionvoidClientPlayerEntity.playSound(SoundEvent event, SoundCategory category, float volume, float pitch) -
Uses of SoundCategory in net.minecraft.client.option
Fields in net.minecraft.client.option with type parameters of type SoundCategoryModifier and TypeFieldDescriptionprivate final Map<SoundCategory,SimpleOption<Double>> GameOptions.soundVolumeLevelsMethods in net.minecraft.client.option with parameters of type SoundCategoryModifier and TypeMethodDescriptionprivate SimpleOption<Double>GameOptions.createSoundVolumeOption(String key, SoundCategory category) final floatGameOptions.getSoundVolume(SoundCategory category) final SimpleOption<Double>GameOptions.getSoundVolumeOption(SoundCategory category) -
Uses of SoundCategory in net.minecraft.client.sound
Fields in net.minecraft.client.sound declared as SoundCategoryFields in net.minecraft.client.sound with type parameters of type SoundCategoryModifier and TypeFieldDescriptionprivate final Multimap<SoundCategory,SoundInstance> SoundSystem.soundsMethods in net.minecraft.client.sound that return SoundCategoryModifier and TypeMethodDescriptionAbstractSoundInstance.getCategory()SoundInstance.getCategory()Methods in net.minecraft.client.sound with parameters of type SoundCategoryModifier and TypeMethodDescriptionprivate floatSoundSystem.getAdjustedVolume(float volume, SoundCategory category) private floatSoundSystem.getSoundVolume(@Nullable SoundCategory category) voidSoundManager.stopSounds(@Nullable Identifier id, @Nullable SoundCategory soundCategory) voidSoundSystem.stopSounds(@Nullable Identifier id, @Nullable SoundCategory category) voidSoundManager.updateSoundVolume(SoundCategory category, float volume) voidSoundSystem.updateSoundVolume(SoundCategory category, float volume) Constructors in net.minecraft.client.sound with parameters of type SoundCategoryModifierConstructorDescriptionAbstractBeeSoundInstance(BeeEntity entity, SoundEvent sound, SoundCategory soundCategory) protectedAbstractSoundInstance(SoundEvent sound, SoundCategory category, Random random) protectedAbstractSoundInstance(Identifier soundId, SoundCategory category, Random random) EntityTrackingSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Entity entity, long seed) protectedMovingSoundInstance(SoundEvent sound, SoundCategory category, Random random) privatePositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Random random, boolean repeat, int repeatDelay, SoundInstance.AttenuationType attenuationType, double x, double y, double z) PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Random random, double x, double y, double z) PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Random random, BlockPos pos) PositionedSoundInstance(Identifier id, SoundCategory category, float volume, float pitch, Random random, boolean repeat, int repeatDelay, SoundInstance.AttenuationType attenuationType, double x, double y, double z, boolean relative) -
Uses of SoundCategory in net.minecraft.client.world
Methods in net.minecraft.client.world with parameters of type SoundCategoryModifier and TypeMethodDescriptionvoidClientWorld.playSound(double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance) private voidClientWorld.playSound(double x, double y, double z, SoundEvent event, SoundCategory category, float volume, float pitch, boolean useDistance, long seed) voidClientWorld.playSound(@Nullable PlayerEntity except, double x, double y, double z, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed) voidClientWorld.playSoundFromEntity(@Nullable PlayerEntity except, Entity entity, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed) -
Uses of SoundCategory in net.minecraft.entity
Methods in net.minecraft.entity that return SoundCategoryModifier and TypeMethodDescriptionEntity.getSoundCategory()Returns the sound category for sounds from this entity.ExperienceOrbEntity.getSoundCategory()Returns the sound category for sounds from this entity.ItemEntity.getSoundCategory()Returns the sound category for sounds from this entity.LightningEntity.getSoundCategory()Returns the sound category for sounds from this entity.Methods in net.minecraft.entity with parameters of type SoundCategoryModifier and TypeMethodDescriptionvoidSaddleable.saddle(@Nullable SoundCategory sound) voidShearable.sheared(SoundCategory shearedSoundCategory) -
Uses of SoundCategory in net.minecraft.entity.boss.dragon
Methods in net.minecraft.entity.boss.dragon that return SoundCategoryModifier and TypeMethodDescriptionEnderDragonEntity.getSoundCategory()Returns the sound category for sounds from this entity. -
Uses of SoundCategory in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob that return SoundCategoryModifier and TypeMethodDescriptionGhastEntity.getSoundCategory()Returns the sound category for sounds from this entity.HoglinEntity.getSoundCategory()Returns the sound category for sounds from this entity.HostileEntity.getSoundCategory()Returns the sound category for sounds from this entity.PhantomEntity.getSoundCategory()Returns the sound category for sounds from this entity.ShulkerEntity.getSoundCategory()Returns the sound category for sounds from this entity. -
Uses of SoundCategory in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive that return SoundCategoryModifier and TypeMethodDescriptionParrotEntity.getSoundCategory()Returns the sound category for sounds from this entity.RabbitEntity.getSoundCategory()Returns the sound category for sounds from this entity.Methods in net.minecraft.entity.passive with parameters of type SoundCategoryModifier and TypeMethodDescriptionvoidAbstractHorseEntity.saddle(@Nullable SoundCategory sound) voidPigEntity.saddle(@Nullable SoundCategory sound) voidStriderEntity.saddle(@Nullable SoundCategory sound) voidMooshroomEntity.sheared(SoundCategory shearedSoundCategory) voidSheepEntity.sheared(SoundCategory shearedSoundCategory) voidSnowGolemEntity.sheared(SoundCategory shearedSoundCategory) -
Uses of SoundCategory in net.minecraft.entity.player
Methods in net.minecraft.entity.player that return SoundCategoryModifier and TypeMethodDescriptionPlayerEntity.getSoundCategory()Returns the sound category for sounds from this entity.Methods in net.minecraft.entity.player with parameters of type SoundCategoryModifier and TypeMethodDescriptionvoidPlayerEntity.playSound(SoundEvent event, SoundCategory category, float volume, float pitch) -
Uses of SoundCategory in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile that return SoundCategoryModifier and TypeMethodDescriptionShulkerBulletEntity.getSoundCategory()Returns the sound category for sounds from this entity. -
Uses of SoundCategory in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as SoundCategoryModifier and TypeFieldDescriptionprivate final SoundCategoryPlaySoundFromEntityS2CPacket.categoryprivate final SoundCategoryPlaySoundS2CPacket.categoryprivate final @Nullable SoundCategoryStopSoundS2CPacket.categoryMethods in net.minecraft.network.packet.s2c.play that return SoundCategoryModifier and TypeMethodDescriptionPlaySoundFromEntityS2CPacket.getCategory()PlaySoundS2CPacket.getCategory()StopSoundS2CPacket.getCategory()Constructors in net.minecraft.network.packet.s2c.play with parameters of type SoundCategoryModifierConstructorDescriptionPlaySoundFromEntityS2CPacket(RegistryEntry<SoundEvent> sound, SoundCategory category, Entity entity, float volume, float pitch, long seed) PlaySoundS2CPacket(RegistryEntry<SoundEvent> sound, SoundCategory category, double x, double y, double z, float volume, float pitch, long seed) StopSoundS2CPacket(@Nullable Identifier soundId, @Nullable SoundCategory category) -
Uses of SoundCategory in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type SoundCategoryModifier and TypeMethodDescriptionprivate static intPlaySoundCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch, float minVolume) private static intStopSoundCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, @Nullable SoundCategory category, @Nullable Identifier sound) private static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource>PlaySoundCommand.makeArgumentsForCategory(SoundCategory category) -
Uses of SoundCategory in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type SoundCategoryModifier and TypeMethodDescriptionvoidServerPlayerEntity.playSound(SoundEvent event, SoundCategory category, float volume, float pitch) -
Uses of SoundCategory in net.minecraft.server.world
Methods in net.minecraft.server.world with parameters of type SoundCategoryModifier and TypeMethodDescriptionvoidServerWorld.playSound(@Nullable PlayerEntity except, double x, double y, double z, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed) voidServerWorld.playSoundFromEntity(@Nullable PlayerEntity except, Entity entity, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed) -
Uses of SoundCategory in net.minecraft.sound
Methods in net.minecraft.sound that return SoundCategoryModifier and TypeMethodDescriptionstatic SoundCategoryReturns the enum constant of this class with the specified name.static SoundCategory[]SoundCategory.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of SoundCategory in net.minecraft.world
Methods in net.minecraft.world with parameters of type SoundCategoryModifier and TypeMethodDescriptionvoidChunkRegion.playSound(@Nullable PlayerEntity except, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) voidWorld.playSound(double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance) voidWorld.playSound(@Nullable Entity except, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) abstract voidWorld.playSound(@Nullable PlayerEntity except, double x, double y, double z, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed) voidWorld.playSound(@Nullable PlayerEntity except, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch) voidWorld.playSound(@Nullable PlayerEntity except, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, long seed) voidWorld.playSound(@Nullable PlayerEntity except, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) default voidWorldAccess.playSound(@Nullable PlayerEntity except, BlockPos pos, SoundEvent sound, SoundCategory category) voidWorldAccess.playSound(@Nullable PlayerEntity except, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) voidWorld.playSoundAtBlockCenter(BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance) abstract voidWorld.playSoundFromEntity(@Nullable PlayerEntity except, Entity entity, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed) voidWorld.playSoundFromEntity(@Nullable PlayerEntity except, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch)