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 Map<SoundSource, OptionInstance<Double>> Options.soundSourceVolumesMethods in net.minecraft.client with parameters of type SoundSourceModifier and TypeMethodDescriptionprivate OptionInstance<Double> Options.createSoundSliderOptionInstance(String p_250353_, SoundSource p_249262_) final OptionInstance<Double> Options.getSoundSourceOptionInstance(SoundSource p_251574_) final floatOptions.getSoundSourceVolume(SoundSource p_92148_) -
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(Entity p_312749_, SoundEvent p_312635_, SoundSource p_312007_, float p_312298_, float p_312772_) voidClientLevel.playSeededSound(Player p_263381_, double p_263372_, double p_263404_, double p_263365_, Holder<SoundEvent> p_263335_, SoundSource p_263417_, float p_263416_, float p_263349_, long p_263408_) voidClientLevel.playSeededSound(Player p_263514_, Entity p_263536_, Holder<SoundEvent> p_263518_, SoundSource p_263487_, float p_263538_, float p_263524_, long p_263509_) private voidClientLevel.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
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_235068_, SoundSource p_235069_, RandomSource p_235070_) protectedAbstractSoundInstance(SoundEvent p_235072_, SoundSource p_235073_, RandomSource p_235074_) protectedAbstractTickableSoundInstance(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_) privateSimpleSoundInstance(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
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.calculateVolume(float p_235258_, SoundSource p_235259_) private 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 SoundSourceClientboundSoundEntityPacket.sourceprivate final SoundSourceClientboundSoundPacket.sourceprivate final SoundSourceClientboundStopSoundPacket.sourceMethods in net.minecraft.network.protocol.game that return SoundSourceModifier and TypeMethodDescriptionClientboundSoundEntityPacket.getSource()ClientboundSoundPacket.getSource()ClientboundStopSoundPacket.getSource()Constructors in net.minecraft.network.protocol.game with parameters of type SoundSourceModifierConstructorDescriptionClientboundSoundEntityPacket(Holder<SoundEvent> p_263513_, SoundSource p_263511_, Entity p_263496_, float p_263519_, float p_263523_, long p_263532_) ClientboundSoundPacket(Holder<SoundEvent> p_263366_, SoundSource p_263375_, double p_263378_, double p_263367_, double p_263394_, float p_263415_, float p_263399_, long p_263409_) 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.playSeededSound(Player p_263330_, double p_263393_, double p_263369_, double p_263354_, Holder<SoundEvent> p_263412_, SoundSource p_263338_, float p_263352_, float p_263390_, long p_263403_) voidServerLevel.playSeededSound(Player p_263545_, Entity p_263544_, Holder<SoundEvent> p_263491_, SoundSource p_263542_, float p_263530_, float p_263520_, long p_263490_) 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_) -
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()Slime.getSoundSource()Methods in net.minecraft.world.entity.monster with parameters of type SoundSourceModifier and TypeMethodDescriptionvoidStrider.equipSaddle(SoundSource p_33878_) voidBogged.shear(SoundSource p_331493_) -
Uses of SoundSource in net.minecraft.world.entity.monster.breeze
Methods in net.minecraft.world.entity.monster.breeze that return 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_) voidLevel.playLocalSound(BlockPos p_250938_, SoundEvent p_252209_, SoundSource p_249161_, float p_249980_, float p_250277_, boolean p_250151_) voidLevel.playLocalSound(Entity p_312189_, SoundEvent p_312080_, SoundSource p_312905_, float p_312914_, float p_312831_) abstract voidLevel.playSeededSound(Player p_262953_, double p_263004_, double p_263398_, double p_263376_, Holder<SoundEvent> p_263359_, SoundSource p_263020_, float p_263055_, float p_262914_, long p_262991_) voidLevel.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 voidLevel.playSeededSound(Player p_220372_, Entity p_220373_, Holder<SoundEvent> p_263500_, SoundSource p_220375_, float p_220376_, float p_220377_, long p_220378_) voidLevel.playSound(Entity p_252137_, BlockPos p_251749_, SoundEvent p_248842_, SoundSource p_251104_, float p_249531_, float p_250763_) voidLevel.playSound(Player p_309201_, double p_308925_, double p_309072_, double p_308916_, SoundEvent p_308917_, SoundSource p_308902_) 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_) voidLevel.playSound(Player p_46551_, Entity p_46552_, SoundEvent p_46553_, SoundSource p_46554_, float p_46555_, float p_46556_) default voidLevelAccessor.playSound(Player p_251195_, BlockPos p_250192_, SoundEvent p_249887_, SoundSource p_250593_) 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.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as SoundSourceMethods in net.neoforged.neoforge.event that return SoundSourceMethods in net.neoforged.neoforge.event with parameters of type SoundSourceModifier and TypeMethodDescriptionstatic PlayLevelSoundEvent.AtEntityEventHooks.onPlaySoundAtEntity(Entity entity, Holder<SoundEvent> name, SoundSource category, float volume, float pitch) EventHooks.onPlaySoundAtPosition(Level level, double x, double y, double z, Holder<SoundEvent> name, SoundSource category, float volume, float pitch) voidPlayLevelSoundEvent.setSource(SoundSource source) Sets the sound source.Constructors in net.neoforged.neoforge.event with parameters of type SoundSourceModifierConstructorDescriptionAtEntity(Entity entity, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch) AtPosition(Level level, Vec3 position, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch) PlayLevelSoundEvent(Level level, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch)
IShearable.onSheared(net.minecraft.world.entity.player.Player, net.minecraft.world.item.ItemStack, net.minecraft.world.level.Level, net.minecraft.core.BlockPos)instead.