Uses of Enum Class
net.minecraft.sounds.SoundSource
Package
Description
-
Uses of SoundSource in net.minecraft.client
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2FloatMap<SoundSource>
Options.sourceVolumes
Modifier and TypeMethodDescriptionfloat
Options.getSoundSourceVolume
(SoundSource p_92148_) void
Options.setSoundCategoryVolume
(SoundSource p_92150_, float p_92151_) -
Uses of SoundSource in net.minecraft.client.gui.components
ModifierConstructorDescriptionVolumeSlider
(Minecraft p_94662_, int p_94663_, int p_94664_, SoundSource p_94665_, int p_94666_) -
Uses of SoundSource in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionvoid
ClientLevel.playLocalSound
(double p_104600_, double p_104601_, double p_104602_, SoundEvent p_104603_, SoundSource p_104604_, float p_104605_, float p_104606_, boolean p_104607_) void
ClientLevel.playLocalSound
(BlockPos p_104678_, SoundEvent p_104679_, SoundSource p_104680_, float p_104681_, float p_104682_, boolean p_104683_) void
ClientLevel.playSeededSound
(Player p_233621_, double p_233622_, double p_233623_, double p_233624_, SoundEvent p_233625_, SoundSource p_233626_, float p_233627_, float p_233628_, long p_233629_) void
ClientLevel.playSeededSound
(Player p_233631_, Entity p_233632_, SoundEvent p_233633_, SoundSource p_233634_, float p_233635_, float p_233636_, long p_233637_) private void
ClientLevel.playSound
(double p_233603_, double p_233604_, double p_233605_, SoundEvent p_233606_, SoundSource p_233607_, float p_233608_, float p_233609_, boolean p_233610_, long p_233611_) -
Uses of SoundSource in net.minecraft.client.player
Modifier and TypeMethodDescriptionvoid
LocalPlayer.playNotifySound
(SoundEvent p_108655_, SoundSource p_108656_, float p_108657_, float p_108658_) -
Uses of SoundSource in net.minecraft.client.resources.sounds
ModifierConstructorDescriptionprotected
AbstractSoundInstance
(ResourceLocation p_235068_, SoundSource p_235069_, RandomSource p_235070_) protected
AbstractSoundInstance
(SoundEvent p_235072_, SoundSource p_235073_, RandomSource p_235074_) protected
AbstractTickableSoundInstance
(SoundEvent p_235076_, SoundSource p_235077_, RandomSource p_235078_) BeeSoundInstance
(Bee p_119621_, SoundEvent p_119622_, SoundSource p_119623_) EntityBoundSoundInstance
(SoundEvent p_235080_, SoundSource p_235081_, float p_235082_, float p_235083_, Entity p_235084_, long p_235085_) SimpleSoundInstance
(ResourceLocation p_235087_, SoundSource p_235088_, float p_235089_, float p_235090_, RandomSource p_235091_, boolean p_235092_, int p_235093_, SoundInstance.Attenuation p_235094_, double p_235095_, double p_235096_, double p_235097_, boolean p_235098_) private
SimpleSoundInstance
(SoundEvent p_235116_, SoundSource p_235117_, float p_235118_, float p_235119_, RandomSource p_235120_, boolean p_235121_, int p_235122_, SoundInstance.Attenuation p_235123_, double p_235124_, double p_235125_, double p_235126_) SimpleSoundInstance
(SoundEvent p_235100_, SoundSource p_235101_, float p_235102_, float p_235103_, RandomSource p_235104_, double p_235105_, double p_235106_, double p_235107_) SimpleSoundInstance
(SoundEvent p_235109_, SoundSource p_235110_, float p_235111_, float p_235112_, RandomSource p_235113_, BlockPos p_235114_) -
Uses of SoundSource in net.minecraft.client.sounds
Modifier and TypeFieldDescriptionprivate final com.google.common.collect.Multimap<SoundSource,
SoundInstance> SoundEngine.instanceBySource
Modifier and TypeMethodDescriptionprivate float
SoundEngine.calculateVolume
(float p_235258_, SoundSource p_235259_) private float
SoundEngine.getVolume
(SoundSource p_120259_) void
SoundEngine.stop
(ResourceLocation p_120300_, SoundSource p_120301_) void
SoundManager.stop
(ResourceLocation p_120387_, SoundSource p_120388_) void
SoundEngine.updateCategoryVolume
(SoundSource p_120261_, float p_120262_) void
SoundManager.updateSourceVolume
(SoundSource p_120359_, float p_120360_) -
Uses of SoundSource in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final SoundSource
ClientboundCustomSoundPacket.source
private final SoundSource
ClientboundSoundEntityPacket.source
private final SoundSource
ClientboundSoundPacket.source
private final SoundSource
ClientboundStopSoundPacket.source
Modifier and TypeMethodDescriptionClientboundCustomSoundPacket.getSource()
ClientboundSoundEntityPacket.getSource()
ClientboundSoundPacket.getSource()
ClientboundStopSoundPacket.getSource()
ModifierConstructorDescriptionClientboundCustomSoundPacket
(ResourceLocation p_237699_, SoundSource p_237700_, Vec3 p_237701_, float p_237702_, float p_237703_, long p_237704_) ClientboundSoundEntityPacket
(SoundEvent p_237831_, SoundSource p_237832_, Entity p_237833_, float p_237834_, float p_237835_, long p_237836_) ClientboundSoundPacket
(SoundEvent p_237840_, SoundSource p_237841_, double p_237842_, double p_237843_, double p_237844_, float p_237845_, float p_237846_, long p_237847_) ClientboundStopSoundPacket
(ResourceLocation p_133468_, SoundSource p_133469_) -
Uses of SoundSource in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static int
PlaySoundCommand.playSound
(CommandSourceStack p_138161_, Collection<ServerPlayer> p_138162_, ResourceLocation p_138163_, SoundSource p_138164_, Vec3 p_138165_, float p_138166_, float p_138167_, float p_138168_) private static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack>
PlaySoundCommand.source
(SoundSource p_138152_) private static int
StopSoundCommand.stopSound
(CommandSourceStack p_138801_, Collection<ServerPlayer> p_138802_, SoundSource p_138803_, ResourceLocation p_138804_) -
Uses of SoundSource in net.minecraft.server.level
Modifier and TypeMethodDescriptionvoid
ServerPlayer.playNotifySound
(SoundEvent p_9019_, SoundSource p_9020_, float p_9021_, float p_9022_) void
ServerLevel.playSeededSound
(Player p_215017_, double p_215018_, double p_215019_, double p_215020_, SoundEvent p_215021_, SoundSource p_215022_, float p_215023_, float p_215024_, long p_215025_) void
ServerLevel.playSeededSound
(Player p_215027_, Entity p_215028_, SoundEvent p_215029_, SoundSource p_215030_, float p_215031_, float p_215032_, long p_215033_) void
WorldGenRegion.playSound
(Player p_9528_, BlockPos p_9529_, SoundEvent p_9530_, SoundSource p_9531_, float p_9532_, float p_9533_) -
Uses of SoundSource in net.minecraft.sounds
Modifier and TypeMethodDescriptionstatic SoundSource
Returns the enum constant of this class with the specified name.static SoundSource[]
SoundSource.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of SoundSource in net.minecraft.world.entity
Modifier and TypeMethodDescriptionEntity.getSoundSource()
ExperienceOrb.getSoundSource()
LightningBolt.getSoundSource()
Modifier and TypeMethodDescriptionvoid
Saddleable.equipSaddle
(SoundSource p_21748_) void
Shearable.shear
(SoundSource p_21749_) Deprecated. -
Uses of SoundSource in net.minecraft.world.entity.animal
Modifier and TypeMethodDescriptionvoid
Pig.equipSaddle
(SoundSource p_29476_) void
MushroomCow.shear
(SoundSource p_28924_) void
Sheep.shear
(SoundSource p_29819_) void
SnowGolem.shear
(SoundSource p_29907_) MushroomCow.shearInternal
(SoundSource p_28924_) -
Uses of SoundSource in net.minecraft.world.entity.animal.horse
-
Uses of SoundSource in net.minecraft.world.entity.boss.enderdragon
-
Uses of SoundSource in net.minecraft.world.entity.item
-
Uses of SoundSource in net.minecraft.world.entity.monster
Modifier and TypeMethodDescriptionGhast.getSoundSource()
Monster.getSoundSource()
Phantom.getSoundSource()
Shulker.getSoundSource()
-
Uses of SoundSource in net.minecraft.world.entity.monster.hoglin
-
Uses of SoundSource in net.minecraft.world.entity.player
Modifier and TypeMethodDescriptionvoid
Player.playNotifySound
(SoundEvent p_36140_, SoundSource p_36141_, float p_36142_, float p_36143_) -
Uses of SoundSource in net.minecraft.world.entity.projectile
-
Uses of SoundSource in net.minecraft.world.level
Modifier and TypeMethodDescriptionvoid
Level.playLocalSound
(double p_46482_, double p_46483_, double p_46484_, SoundEvent p_46485_, SoundSource p_46486_, float p_46487_, float p_46488_, boolean p_46489_) abstract void
Level.playSeededSound
(Player p_220363_, double p_220364_, double p_220365_, double p_220366_, SoundEvent p_220367_, SoundSource p_220368_, float p_220369_, float p_220370_, long p_220371_) abstract void
Level.playSeededSound
(Player p_220372_, Entity p_220373_, SoundEvent p_220374_, SoundSource p_220375_, float p_220376_, float p_220377_, long p_220378_) void
Level.playSound
(Player p_46543_, double p_46544_, double p_46545_, double p_46546_, SoundEvent p_46547_, SoundSource p_46548_, float p_46549_, float p_46550_) void
Level.playSound
(Player p_46560_, BlockPos p_46561_, SoundEvent p_46562_, SoundSource p_46563_, float p_46564_, float p_46565_) void
Level.playSound
(Player p_46551_, Entity p_46552_, SoundEvent p_46553_, SoundSource p_46554_, float p_46555_, float p_46556_) void
LevelAccessor.playSound
(Player p_46775_, BlockPos p_46776_, SoundEvent p_46777_, SoundSource p_46778_, float p_46779_, float p_46780_) -
Uses of SoundSource in net.minecraftforge.event
Modifier and TypeMethodDescription@NotNull SoundSource
PlayLevelSoundEvent.getSource()
Returns the sound source.Modifier and TypeMethodDescriptionstatic PlayLevelSoundEvent.AtEntity
ForgeEventFactory.onPlaySoundAtEntity
(Entity entity, SoundEvent name, SoundSource category, float volume, float pitch) ForgeEventFactory.onPlaySoundAtPosition
(Level level, double x, double y, double z, SoundEvent name, SoundSource category, float volume, float pitch) void
PlayLevelSoundEvent.setSource
(@NotNull SoundSource source) Sets the sound source.ModifierConstructorDescriptionAtEntity
(Entity entity, SoundEvent sound, SoundSource source, float volume, float pitch) AtPosition
(Level level, Vec3 position, SoundEvent sound, SoundSource source, float volume, float pitch) PlayLevelSoundEvent
(@NotNull Level level, @NotNull SoundEvent sound, @NotNull SoundSource source, float volume, float pitch)