Uses of Enum Class
net.minecraft.sounds.SoundSource
Package
Description
-
Uses of SoundSource in net.minecraft.client
Modifier and TypeFieldDescriptionprivate 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.playSound(Player p_104645_, double p_104646_, double p_104647_, double p_104648_, SoundEvent p_104649_, SoundSource p_104650_, float p_104651_, float p_104652_)
void
ClientLevel.playSound(Player p_104659_, Entity p_104660_, SoundEvent p_104661_, SoundSource p_104662_, float p_104663_, float p_104664_)
-
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_119587_, SoundSource p_119588_)
protected
AbstractSoundInstance(SoundEvent p_119584_, SoundSource p_119585_)
protected
AbstractTickableSoundInstance(SoundEvent p_119606_, SoundSource p_119607_)
BeeSoundInstance(Bee p_119621_, SoundEvent p_119622_, SoundSource p_119623_)
EntityBoundSoundInstance(SoundEvent p_119677_, SoundSource p_119678_, float p_119679_, float p_119680_, Entity p_119681_)
SimpleSoundInstance(ResourceLocation p_119734_, SoundSource p_119735_, float p_119736_, float p_119737_, boolean p_119738_, int p_119739_, SoundInstance.Attenuation p_119740_, double p_119741_, double p_119742_, double p_119743_, boolean p_119744_)
private
SimpleSoundInstance(SoundEvent p_119723_, SoundSource p_119724_, float p_119725_, float p_119726_, boolean p_119727_, int p_119728_, SoundInstance.Attenuation p_119729_, double p_119730_, double p_119731_, double p_119732_)
SimpleSoundInstance(SoundEvent p_119709_, SoundSource p_119710_, float p_119711_, float p_119712_, double p_119713_, double p_119714_, double p_119715_)
SimpleSoundInstance(SoundEvent p_119717_, SoundSource p_119718_, float p_119719_, float p_119720_, BlockPos p_119721_)
-
Uses of SoundSource in net.minecraft.client.sounds
Modifier and TypeFieldDescriptionprivate com.google.common.collect.Multimap<SoundSource,SoundInstance>
SoundEngine.instanceBySource
Modifier and TypeMethodDescriptionprivate 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 SoundSource
ClientboundCustomSoundPacket.source
private SoundSource
ClientboundSoundEntityPacket.source
private SoundSource
ClientboundSoundPacket.source
private SoundSource
ClientboundStopSoundPacket.source
Modifier and TypeMethodDescriptionClientboundCustomSoundPacket.getSource()
ClientboundSoundEntityPacket.getSource()
ClientboundSoundPacket.getSource()
ClientboundStopSoundPacket.getSource()
ModifierConstructorDescriptionClientboundCustomSoundPacket(ResourceLocation p_132055_, SoundSource p_132056_, Vec3 p_132057_, float p_132058_, float p_132059_)
ClientboundSoundEntityPacket(SoundEvent p_133415_, SoundSource p_133416_, Entity p_133417_, float p_133418_, float p_133419_)
ClientboundSoundPacket(SoundEvent p_133442_, SoundSource p_133443_, double p_133444_, double p_133445_, double p_133446_, float p_133447_, float p_133448_)
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.playSound(Player p_8675_, double p_8676_, double p_8677_, double p_8678_, SoundEvent p_8679_, SoundSource p_8680_, float p_8681_, float p_8682_)
void
ServerLevel.playSound(Player p_8689_, Entity p_8690_, SoundEvent p_8691_, SoundSource p_8692_, float p_8693_, float p_8694_)
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.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_)
abstract 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 TypeMethodDescriptionstatic PlaySoundAtEntityEvent
ForgeEventFactory.onPlaySoundAtEntity(Entity entity, SoundEvent name, SoundSource category, float volume, float pitch)
-
Uses of SoundSource in net.minecraftforge.event.entity
ModifierConstructorDescriptionPlaySoundAtEntityEvent(Entity entity, SoundEvent name, SoundSource category, float volume, float pitch)