Uses of Enum Class
net.minecraft.util.SoundCategory
Package
Description
-
Uses of SoundCategory in net.minecraft.client
Modifier and TypeFieldDescriptionprivate final Map<SoundCategory,
Float> GameSettings.sourceVolumes
Modifier and TypeMethodDescriptionfloat
GameSettings.getSoundSourceVolume
(SoundCategory p_186711_1_) void
GameSettings.setSoundCategoryVolume
(SoundCategory p_186712_1_, float p_186712_2_) -
Uses of SoundCategory in net.minecraft.client.audio
Modifier and TypeFieldDescriptionprivate final com.google.common.collect.Multimap<SoundCategory,
ISound> SoundEngine.instanceBySource
Modifier and TypeMethodDescriptionprivate float
SoundEngine.getVolume
(SoundCategory p_188769_1_) void
SoundEngine.stop
(ResourceLocation p_195855_1_, SoundCategory p_195855_2_) void
SoundHandler.stop
(ResourceLocation p_195478_1_, SoundCategory p_195478_2_) void
SoundEngine.updateCategoryVolume
(SoundCategory p_188771_1_, float p_188771_2_) void
SoundHandler.updateSourceVolume
(SoundCategory p_184399_1_, float p_184399_2_) ModifierConstructorDescriptionBeeSound
(BeeEntity p_i226060_1_, SoundEvent p_i226060_2_, SoundCategory p_i226060_3_) EntityTickableSound
(SoundEvent p_i50899_1_, SoundCategory p_i50899_2_, float p_i50899_3_, float p_i50899_4_, Entity p_i50899_5_) EntityTickableSound
(SoundEvent p_i50898_1_, SoundCategory p_i50898_2_, Entity p_i50898_3_) protected
LocatableSound
(ResourceLocation p_i46534_1_, SoundCategory p_i46534_2_) protected
LocatableSound
(SoundEvent p_i46533_1_, SoundCategory p_i46533_2_) SimpleSound
(ResourceLocation p_i232492_1_, SoundCategory p_i232492_2_, float p_i232492_3_, float p_i232492_4_, boolean p_i232492_5_, int p_i232492_6_, ISound.AttenuationType p_i232492_7_, double p_i232492_8_, double p_i232492_10_, double p_i232492_12_, boolean p_i232492_14_) private
SimpleSound
(SoundEvent p_i232491_1_, SoundCategory p_i232491_2_, float p_i232491_3_, float p_i232491_4_, boolean p_i232491_5_, int p_i232491_6_, ISound.AttenuationType p_i232491_7_, double p_i232491_8_, double p_i232491_10_, double p_i232491_12_) SimpleSound
(SoundEvent p_i232490_1_, SoundCategory p_i232490_2_, float p_i232490_3_, float p_i232490_4_, double p_i232490_5_, double p_i232490_7_, double p_i232490_9_) SimpleSound
(SoundEvent p_i46527_1_, SoundCategory p_i46527_2_, float p_i46527_3_, float p_i46527_4_, BlockPos p_i46527_5_) protected
TickableSound
(SoundEvent p_i46532_1_, SoundCategory p_i46532_2_) -
Uses of SoundCategory in net.minecraft.client.entity.player
Modifier and TypeMethodDescriptionvoid
ClientPlayerEntity.playNotifySound
(SoundEvent p_213823_1_, SoundCategory p_213823_2_, float p_213823_3_, float p_213823_4_) -
Uses of SoundCategory in net.minecraft.client.gui.widget
ModifierConstructorDescriptionSoundSlider
(Minecraft p_i51127_1_, int p_i51127_2_, int p_i51127_3_, SoundCategory p_i51127_4_, int p_i51127_5_) -
Uses of SoundCategory in net.minecraft.client.world
Modifier and TypeMethodDescriptionvoid
ClientWorld.playLocalSound
(double p_184134_1_, double p_184134_3_, double p_184134_5_, SoundEvent p_184134_7_, SoundCategory p_184134_8_, float p_184134_9_, float p_184134_10_, boolean p_184134_11_) void
ClientWorld.playLocalSound
(BlockPos p_184156_1_, SoundEvent p_184156_2_, SoundCategory p_184156_3_, float p_184156_4_, float p_184156_5_, boolean p_184156_6_) void
ClientWorld.playSound
(PlayerEntity p_184148_1_, double p_184148_2_, double p_184148_4_, double p_184148_6_, SoundEvent p_184148_8_, SoundCategory p_184148_9_, float p_184148_10_, float p_184148_11_) void
ClientWorld.playSound
(PlayerEntity p_217384_1_, Entity p_217384_2_, SoundEvent p_217384_3_, SoundCategory p_217384_4_, float p_217384_5_, float p_217384_6_) -
Uses of SoundCategory in net.minecraft.command.impl
Modifier and TypeMethodDescriptionprivate static int
PlaySoundCommand.playSound
(CommandSource p_198573_0_, Collection<ServerPlayerEntity> p_198573_1_, ResourceLocation p_198573_2_, SoundCategory p_198573_3_, Vector3d p_198573_4_, float p_198573_5_, float p_198573_6_, float p_198573_7_) private static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSource>
PlaySoundCommand.source
(SoundCategory p_198577_0_) private static int
StopSoundCommand.stopSound
(CommandSource p_198733_0_, Collection<ServerPlayerEntity> p_198733_1_, SoundCategory p_198733_2_, ResourceLocation p_198733_3_) -
Uses of SoundCategory in net.minecraft.entity
Modifier and TypeMethodDescriptionvoid
IEquipable.equipSaddle
(SoundCategory p_230266_1_) void
IShearable.shear
(SoundCategory p_230263_1_) Deprecated. -
Uses of SoundCategory in net.minecraft.entity.boss.dragon
-
Uses of SoundCategory in net.minecraft.entity.effect
-
Uses of SoundCategory in net.minecraft.entity.monster
Modifier and TypeMethodDescriptionGhastEntity.getSoundSource()
HoglinEntity.getSoundSource()
MonsterEntity.getSoundSource()
PhantomEntity.getSoundSource()
ShulkerEntity.getSoundSource()
-
Uses of SoundCategory in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionvoid
PigEntity.equipSaddle
(SoundCategory p_230266_1_) void
StriderEntity.equipSaddle
(SoundCategory p_230266_1_) void
MooshroomEntity.shear
(SoundCategory p_230263_1_) void
SheepEntity.shear
(SoundCategory p_230263_1_) void
SnowGolemEntity.shear
(SoundCategory p_230263_1_) -
Uses of SoundCategory in net.minecraft.entity.passive.horse
Modifier and TypeMethodDescriptionvoid
AbstractHorseEntity.equipSaddle
(SoundCategory p_230266_1_) -
Uses of SoundCategory in net.minecraft.entity.player
Modifier and TypeMethodDescriptionvoid
PlayerEntity.playNotifySound
(SoundEvent p_213823_1_, SoundCategory p_213823_2_, float p_213823_3_, float p_213823_4_) void
ServerPlayerEntity.playNotifySound
(SoundEvent p_213823_1_, SoundCategory p_213823_2_, float p_213823_3_, float p_213823_4_) -
Uses of SoundCategory in net.minecraft.entity.projectile
-
Uses of SoundCategory in net.minecraft.network.play.server
Modifier and TypeFieldDescriptionprivate SoundCategory
SPlaySoundEffectPacket.source
private SoundCategory
SPlaySoundPacket.source
private SoundCategory
SSpawnMovingSoundEffectPacket.source
private SoundCategory
SStopSoundPacket.source
Modifier and TypeMethodDescriptionSPlaySoundEffectPacket.getSource()
SPlaySoundPacket.getSource()
SSpawnMovingSoundEffectPacket.getSource()
SStopSoundPacket.getSource()
ModifierConstructorDescriptionSPlaySoundEffectPacket
(SoundEvent p_i46896_1_, SoundCategory p_i46896_2_, double p_i46896_3_, double p_i46896_5_, double p_i46896_7_, float p_i46896_9_, float p_i46896_10_) SPlaySoundPacket
(ResourceLocation p_i47939_1_, SoundCategory p_i47939_2_, Vector3d p_i47939_3_, float p_i47939_4_, float p_i47939_5_) SSpawnMovingSoundEffectPacket
(SoundEvent p_i50763_1_, SoundCategory p_i50763_2_, Entity p_i50763_3_, float p_i50763_4_, float p_i50763_5_) SStopSoundPacket
(ResourceLocation p_i47929_1_, SoundCategory p_i47929_2_) -
Uses of SoundCategory in net.minecraft.util
Modifier and TypeFieldDescriptionprivate static final Map<String,
SoundCategory> SoundCategory.BY_NAME
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
World.playLocalSound
(double p_184134_1_, double p_184134_3_, double p_184134_5_, SoundEvent p_184134_7_, SoundCategory p_184134_8_, float p_184134_9_, float p_184134_10_, boolean p_184134_11_) void
IWorld.playSound
(PlayerEntity p_184133_1_, BlockPos p_184133_2_, SoundEvent p_184133_3_, SoundCategory p_184133_4_, float p_184133_5_, float p_184133_6_) abstract void
World.playSound
(PlayerEntity p_184148_1_, double p_184148_2_, double p_184148_4_, double p_184148_6_, SoundEvent p_184148_8_, SoundCategory p_184148_9_, float p_184148_10_, float p_184148_11_) abstract void
World.playSound
(PlayerEntity p_217384_1_, Entity p_217384_2_, SoundEvent p_217384_3_, SoundCategory p_217384_4_, float p_217384_5_, float p_217384_6_) void
World.playSound
(PlayerEntity p_184133_1_, BlockPos p_184133_2_, SoundEvent p_184133_3_, SoundCategory p_184133_4_, float p_184133_5_, float p_184133_6_) -
Uses of SoundCategory in net.minecraft.world.gen
Modifier and TypeMethodDescriptionvoid
WorldGenRegion.playSound
(PlayerEntity p_184133_1_, BlockPos p_184133_2_, SoundEvent p_184133_3_, SoundCategory p_184133_4_, float p_184133_5_, float p_184133_6_) -
Uses of SoundCategory in net.minecraft.world.server
Modifier and TypeMethodDescriptionvoid
ServerWorld.playSound
(PlayerEntity p_184148_1_, double p_184148_2_, double p_184148_4_, double p_184148_6_, SoundEvent p_184148_8_, SoundCategory p_184148_9_, float p_184148_10_, float p_184148_11_) void
ServerWorld.playSound
(PlayerEntity p_217384_1_, Entity p_217384_2_, SoundEvent p_217384_3_, SoundCategory p_217384_4_, float p_217384_5_, float p_217384_6_) -
Uses of SoundCategory in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic PlaySoundAtEntityEvent
ForgeEventFactory.onPlaySoundAtEntity
(Entity entity, SoundEvent name, SoundCategory category, float volume, float pitch) -
Uses of SoundCategory in net.minecraftforge.event.entity
Modifier and TypeMethodDescriptionvoid
PlaySoundAtEntityEvent.setCategory
(SoundCategory category) ModifierConstructorDescriptionPlaySoundAtEntityEvent
(Entity entity, SoundEvent name, SoundCategory category, float volume, float pitch)