Uses of Enum Class
net.minecraft.sound.SoundCategory
Package
Description
-
Uses of SoundCategory in net.minecraft.client.gui.widget
ModifierConstructorDescriptionSoundSliderWidget
(MinecraftClient client, int x, int y, SoundCategory category, int width) -
Uses of SoundCategory in net.minecraft.client.network
Modifier and TypeMethodDescriptionvoid
ClientPlayerEntity.playSound
(SoundEvent event, SoundCategory category, float volume, float pitch) -
Uses of SoundCategory in net.minecraft.client.option
Modifier and TypeFieldDescriptionprivate final Object2FloatMap<SoundCategory>
GameOptions.soundVolumeLevels
Modifier and TypeMethodDescriptionfloat
GameOptions.getSoundVolume
(SoundCategory category) void
GameOptions.setSoundVolume
(SoundCategory category, float volume) -
Uses of SoundCategory in net.minecraft.client.sound
Modifier and TypeFieldDescriptionprivate final Multimap<SoundCategory,
SoundInstance> SoundSystem.sounds
Modifier and TypeMethodDescriptionAbstractSoundInstance.getCategory()
SoundInstance.getCategory()
Modifier and TypeMethodDescriptionprivate float
SoundSystem.getAdjustedVolume
(float volume, SoundCategory category) private float
SoundSystem.getSoundVolume
(@Nullable SoundCategory category) void
SoundManager.stopSounds
(@Nullable Identifier id, @Nullable SoundCategory soundCategory) void
SoundSystem.stopSounds
(@Nullable Identifier id, @Nullable SoundCategory category) void
SoundManager.updateSoundVolume
(SoundCategory category, float volume) void
SoundSystem.updateSoundVolume
(SoundCategory category, float volume) ModifierConstructorDescriptionAbstractBeeSoundInstance
(BeeEntity entity, SoundEvent sound, SoundCategory soundCategory) protected
AbstractSoundInstance
(SoundEvent sound, SoundCategory category, Random random) protected
AbstractSoundInstance
(Identifier soundId, SoundCategory category, Random random) EntityTrackingSoundInstance
(SoundEvent sound, SoundCategory category, float volume, float pitch, Entity entity, long seed) protected
MovingSoundInstance
(SoundEvent sound, SoundCategory category, Random random) private
PositionedSoundInstance
(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
Modifier and TypeMethodDescriptionvoid
ClientWorld.playSound
(double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance) private void
ClientWorld.playSound
(double x, double y, double z, SoundEvent event, SoundCategory category, float volume, float pitch, boolean useDistance, long seed) void
ClientWorld.playSound
(@Nullable PlayerEntity except, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, long seed) void
ClientWorld.playSound
(BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance) void
ClientWorld.playSoundFromEntity
(@Nullable PlayerEntity except, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch, long seed) -
Uses of SoundCategory in net.minecraft.entity
Modifier and TypeMethodDescriptionEntity.getSoundCategory()
ExperienceOrbEntity.getSoundCategory()
ItemEntity.getSoundCategory()
LightningEntity.getSoundCategory()
Modifier and TypeMethodDescriptionvoid
Saddleable.saddle
(@Nullable SoundCategory sound) void
Shearable.sheared
(SoundCategory shearedSoundCategory) -
Uses of SoundCategory in net.minecraft.entity.boss.dragon
-
Uses of SoundCategory in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionGhastEntity.getSoundCategory()
HoglinEntity.getSoundCategory()
HostileEntity.getSoundCategory()
PhantomEntity.getSoundCategory()
ShulkerEntity.getSoundCategory()
-
Uses of SoundCategory in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionParrotEntity.getSoundCategory()
RabbitEntity.getSoundCategory()
Modifier and TypeMethodDescriptionvoid
AbstractHorseEntity.saddle
(@Nullable SoundCategory sound) void
PigEntity.saddle
(@Nullable SoundCategory sound) void
StriderEntity.saddle
(@Nullable SoundCategory sound) void
MooshroomEntity.sheared
(SoundCategory shearedSoundCategory) void
SheepEntity.sheared
(SoundCategory shearedSoundCategory) void
SnowGolemEntity.sheared
(SoundCategory shearedSoundCategory) -
Uses of SoundCategory in net.minecraft.entity.player
Modifier and TypeMethodDescriptionvoid
PlayerEntity.playSound
(SoundEvent event, SoundCategory category, float volume, float pitch) -
Uses of SoundCategory in net.minecraft.entity.projectile
-
Uses of SoundCategory in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final SoundCategory
PlaySoundFromEntityS2CPacket.category
private final SoundCategory
PlaySoundIdS2CPacket.category
private final SoundCategory
PlaySoundS2CPacket.category
private final @Nullable SoundCategory
StopSoundS2CPacket.category
Modifier and TypeMethodDescriptionPlaySoundFromEntityS2CPacket.getCategory()
PlaySoundIdS2CPacket.getCategory()
PlaySoundS2CPacket.getCategory()
StopSoundS2CPacket.getCategory()
ModifierConstructorDescriptionPlaySoundFromEntityS2CPacket
(SoundEvent sound, SoundCategory category, Entity entity, float volume, float pitch, long seed) PlaySoundIdS2CPacket
(Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch, long seed) PlaySoundS2CPacket
(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
Modifier and TypeMethodDescriptionprivate static int
PlaySoundCommand.execute
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch, float minVolume) private static int
StopSoundCommand.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
Modifier and TypeMethodDescriptionvoid
ServerPlayerEntity.playSound
(SoundEvent event, SoundCategory category, float volume, float pitch) -
Uses of SoundCategory in net.minecraft.server.world
Modifier and TypeMethodDescriptionvoid
ServerWorld.playSound
(@Nullable PlayerEntity except, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, long seed) void
ServerWorld.playSoundFromEntity
(@Nullable PlayerEntity except, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch, long seed) -
Uses of SoundCategory in net.minecraft.sound
Modifier and TypeMethodDescriptionstatic SoundCategory
Returns 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
Modifier and TypeMethodDescriptionvoid
ChunkRegion.playSound
(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) void
World.playSound
(double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance) void
World.playSound
(@Nullable PlayerEntity player, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch) abstract void
World.playSound
(@Nullable PlayerEntity except, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, long seed) void
World.playSound
(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) void
WorldAccess.playSound
(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) void
World.playSoundFromEntity
(@Nullable PlayerEntity player, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch) abstract void
World.playSoundFromEntity
(@Nullable PlayerEntity except, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch, long seed)