Uses of Enum Class
net.minecraft.sounds.SoundSource
Packages that use SoundSource
Package
Description
-
Uses of SoundSource in net.minecraft.client
Fields in net.minecraft.client with type parameters of type SoundSourceModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2FloatMap<SoundSource>Options.sourceVolumesMethods in net.minecraft.client with parameters of type SoundSourceModifier and TypeMethodDescriptionfloatOptions.getSoundSourceVolume(SoundSource p_92148_) voidOptions.setSoundCategoryVolume(SoundSource p_92150_, float p_92151_) -
Uses of SoundSource in net.minecraft.client.gui.components
Fields in net.minecraft.client.gui.components declared as SoundSourceConstructors in net.minecraft.client.gui.components with parameters of type SoundSourceModifierConstructorDescriptionVolumeSlider(Minecraft p_94662_, int p_94663_, int p_94664_, SoundSource p_94665_, int p_94666_) -
Uses of SoundSource in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type SoundSourceModifier and TypeMethodDescriptionvoidClientLevel.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_) voidClientLevel.playLocalSound(BlockPos p_104678_, SoundEvent p_104679_, SoundSource p_104680_, float p_104681_, float p_104682_, boolean p_104683_) voidClientLevel.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_) voidClientLevel.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
Methods in net.minecraft.client.player with parameters of type SoundSourceModifier and TypeMethodDescriptionvoidLocalPlayer.playNotifySound(SoundEvent p_108655_, SoundSource p_108656_, float p_108657_, float p_108658_) -
Uses of SoundSource in net.minecraft.client.resources.sounds
Fields in net.minecraft.client.resources.sounds declared as SoundSourceMethods in net.minecraft.client.resources.sounds that return SoundSourceConstructors in net.minecraft.client.resources.sounds with parameters of type SoundSourceModifierConstructorDescriptionprotectedAbstractSoundInstance(ResourceLocation p_119587_, SoundSource p_119588_) protectedAbstractSoundInstance(SoundEvent p_119584_, SoundSource p_119585_) protectedAbstractTickableSoundInstance(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_) privateSimpleSoundInstance(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
Fields in net.minecraft.client.sounds with type parameters of type SoundSourceModifier and TypeFieldDescriptionprivate final com.google.common.collect.Multimap<SoundSource,SoundInstance> SoundEngine.instanceBySourceMethods in net.minecraft.client.sounds with parameters of type SoundSourceModifier and TypeMethodDescriptionprivate floatSoundEngine.getVolume(SoundSource p_120259_) voidSoundEngine.stop(ResourceLocation p_120300_, SoundSource p_120301_) voidSoundManager.stop(ResourceLocation p_120387_, SoundSource p_120388_) voidSoundEngine.updateCategoryVolume(SoundSource p_120261_, float p_120262_) voidSoundManager.updateSourceVolume(SoundSource p_120359_, float p_120360_) -
Uses of SoundSource in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as SoundSourceModifier and TypeFieldDescriptionprivate final SoundSourceClientboundCustomSoundPacket.sourceprivate final SoundSourceClientboundSoundEntityPacket.sourceprivate final SoundSourceClientboundSoundPacket.sourceprivate final SoundSourceClientboundStopSoundPacket.sourceMethods in net.minecraft.network.protocol.game that return SoundSourceModifier and TypeMethodDescriptionClientboundCustomSoundPacket.getSource()ClientboundSoundEntityPacket.getSource()ClientboundSoundPacket.getSource()ClientboundStopSoundPacket.getSource()Constructors in net.minecraft.network.protocol.game with parameters of type SoundSourceModifierConstructorDescriptionClientboundCustomSoundPacket(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
Methods in net.minecraft.server.commands with parameters of type SoundSourceModifier and TypeMethodDescriptionprivate static intPlaySoundCommand.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 intStopSoundCommand.stopSound(CommandSourceStack p_138801_, Collection<ServerPlayer> p_138802_, SoundSource p_138803_, ResourceLocation p_138804_) -
Uses of SoundSource in net.minecraft.server.level
Methods in net.minecraft.server.level with parameters of type SoundSourceModifier and TypeMethodDescriptionvoidServerPlayer.playNotifySound(SoundEvent p_9019_, SoundSource p_9020_, float p_9021_, float p_9022_) voidServerLevel.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_) voidServerLevel.playSound(Player p_8689_, Entity p_8690_, SoundEvent p_8691_, SoundSource p_8692_, float p_8693_, float p_8694_) voidWorldGenRegion.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
Methods in net.minecraft.sounds that return SoundSourceModifier and TypeMethodDescriptionstatic SoundSourceReturns 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
Methods in net.minecraft.world.entity that return SoundSourceModifier and TypeMethodDescriptionEntity.getSoundSource()ExperienceOrb.getSoundSource()LightningBolt.getSoundSource()Methods in net.minecraft.world.entity with parameters of type SoundSourceModifier and TypeMethodDescriptionvoidSaddleable.equipSaddle(SoundSource p_21748_) voidShearable.shear(SoundSource p_21749_) Deprecated. -
Uses of SoundSource in net.minecraft.world.entity.animal
Methods in net.minecraft.world.entity.animal that return SoundSourceMethods in net.minecraft.world.entity.animal with parameters of type SoundSourceModifier and TypeMethodDescriptionvoidPig.equipSaddle(SoundSource p_29476_) voidMushroomCow.shear(SoundSource p_28924_) voidSheep.shear(SoundSource p_29819_) voidSnowGolem.shear(SoundSource p_29907_) MushroomCow.shearInternal(SoundSource p_28924_) -
Uses of SoundSource in net.minecraft.world.entity.animal.horse
Methods in net.minecraft.world.entity.animal.horse with parameters of type SoundSource -
Uses of SoundSource in net.minecraft.world.entity.boss.enderdragon
Methods in net.minecraft.world.entity.boss.enderdragon that return SoundSource -
Uses of SoundSource in net.minecraft.world.entity.item
Methods in net.minecraft.world.entity.item that return SoundSource -
Uses of SoundSource in net.minecraft.world.entity.monster
Methods in net.minecraft.world.entity.monster that return SoundSourceModifier and TypeMethodDescriptionGhast.getSoundSource()Monster.getSoundSource()Phantom.getSoundSource()Shulker.getSoundSource()Methods in net.minecraft.world.entity.monster with parameters of type SoundSource -
Uses of SoundSource in net.minecraft.world.entity.monster.hoglin
Methods in net.minecraft.world.entity.monster.hoglin that return SoundSource -
Uses of SoundSource in net.minecraft.world.entity.player
Methods in net.minecraft.world.entity.player that return SoundSourceMethods in net.minecraft.world.entity.player with parameters of type SoundSourceModifier and TypeMethodDescriptionvoidPlayer.playNotifySound(SoundEvent p_36140_, SoundSource p_36141_, float p_36142_, float p_36143_) -
Uses of SoundSource in net.minecraft.world.entity.projectile
Methods in net.minecraft.world.entity.projectile that return SoundSource -
Uses of SoundSource in net.minecraft.world.level
Methods in net.minecraft.world.level with parameters of type SoundSourceModifier and TypeMethodDescriptionvoidLevel.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 voidLevel.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_) voidLevel.playSound(Player p_46560_, BlockPos p_46561_, SoundEvent p_46562_, SoundSource p_46563_, float p_46564_, float p_46565_) abstract voidLevel.playSound(Player p_46551_, Entity p_46552_, SoundEvent p_46553_, SoundSource p_46554_, float p_46555_, float p_46556_) voidLevelAccessor.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
Methods in net.minecraftforge.event with parameters of type SoundSourceModifier and TypeMethodDescriptionstatic PlaySoundAtEntityEventForgeEventFactory.onPlaySoundAtEntity(Entity entity, SoundEvent name, SoundSource category, float volume, float pitch) -
Uses of SoundSource in net.minecraftforge.event.entity
Fields in net.minecraftforge.event.entity declared as SoundSourceMethods in net.minecraftforge.event.entity that return SoundSourceMethods in net.minecraftforge.event.entity with parameters of type SoundSourceConstructors in net.minecraftforge.event.entity with parameters of type SoundSourceModifierConstructorDescriptionPlaySoundAtEntityEvent(Entity entity, SoundEvent name, SoundSource category, float volume, float pitch)