How to Use the PlaySound Command in Minecraft

文章推薦指數: 80 %
投票人數:10人

You can play a sound effect any time you want using the /playsound command in Minecraft (see also /stopsound command). Let's explore how to use this cheat ... Advertisements DigMinecraft HowtoUsethePlaySoundCommandinMinecraft ThisMinecrafttutorialexplainshowtousethe/playsoundcommandwithscreenshotsandstep-by-stepinstructions. Youcanplayasoundeffectanytimeyouwantusingthe/playsoundcommandinMinecraft(seealso/stopsoundcommand).Let'sexplorehowtousethischeat(gamecommand). SupportedPlatforms The/playsoundcommandisavailableinthefollowingversionsofMinecraft: PlatformSupported(Version*)  JavaEdition(PC/Mac)Yes(1.6.1)  PocketEdition(PE)Yes(1.0.5)  Xbox360No  XboxOneYes(1.2)  PS3No  PS4Yes(1.14.0)  WiiUNo  NintendoSwitchYes(1.5.0)  Windows10EditionYes(1.0.5)  EducationEditionYes(1.0.18) *Theversionthatitwasaddedorremoved,ifapplicable. NOTE:PocketEdition(PE),XboxOne,PS4,NintendoSwitch,andWindows10EditionarenowcalledBedrockEdition.Wewillcontinuetoshowthemindividuallyforversionhistory. Requirements TorungamecommandsinMinecraft,youhavetoturncheatsoninyourworld. PlaySoundCommand Java PE Xbox PS Nintendo Win10 Edu PlaySoundCommandinMinecraftJavaEdition(PC/Mac) InMinecraftJavaEdition(PC/Mac),thesyntaxtostartplayingasoundeffectis: /playsound[x][y][z][volume][pitch][minimumVolume] Definitions soundisthesoundeffecttostartplaying.(SeeListofSoundEffectNames.) sourceisthesourcethatyouwanttoplaythesoundeffect.Itcanbeoneofthefollowing:ambient,block,hostile,master,music,neutral,player,record,voice,weather. targetsisthenameoftheplayer(oratargetselector)thatyouwishtoplaythesoundeffectfor. xyzisoptional.Itisthecoordinatewherethesoundwillbeplayedfrom.Learnaboutthecoordinatesystem. volumeisoptional.Thesoundcanbeheardwithinanaudiblesphere.Thevolumedeterminesthesizeofthataudiblesphereandthereforethedistanceawaythatthesoundcanbeheard.Thevolumemustbeatleastavalueof0.0.Thehigherthevalue,thelargertheaudiblesphereandthefurtherawaythesoundeffectcanbeheard. pitchisoptional.Itdeterminesthepitchforthesoundeffect.Itcanbeavaluebetween0.0and2.0.Thehigherthevalue,thehigherthepitch. minimumVolumeisoptional.Itisdeterminestheminimumvolumethatthesoundwillbeheardoutsideoftheaudiblesphere.Itcanbeavaluebetween0.0and1.0. PlaySoundCommandinMinecraftPocketEdition(PE) InMinecraftPocketEdition(PE),thesyntaxtostartplayingasoundeffectis: /playsound[player][position][volume][pitch][minimumVolume] Definitions soundisthesoundeffecttostartplaying.(SeeListofSoundEffectNames.) playerisoptional.Itisthenameoftheplayer(oratargetselector)thatyouwishtoplaythesoundeffectfor. positionisoptional.Itisthexyzcoordinatewherethesoundwillbeplayedfrom. volumeisoptional.Thesoundcanbeheardwithinanaudiblesphere.Thevolumedeterminesthesizeofthataudiblesphereandthereforethedistanceawaythatthesoundcanbeheard.Thevolumemustbeatleastavalueof0.0.Thehigherthevalue,thelargertheaudiblesphereandthefurtherawaythesoundeffectcanbeheard. pitchisoptional.Itdeterminesthepitchforthesoundeffect.Itcanbeavaluebetween0.0and2.0.Thehigherthevalue,thehigherthepitch. minimumVolumeisoptional.Itisdeterminestheminimumvolumethatthesoundwillbeheardoutsideoftheaudiblesphere.Itcanbeavaluebetween0.0and1.0. PlaySoundCommandinMinecraftXboxOneEdition InMinecraftXboxOneEdition,thesyntaxtostartplayingasoundeffectis: /playsound[player][position][volume][pitch][minimumVolume] Definitions soundisthesoundeffecttostartplaying.(SeeListofSoundEffectNames.) playerisoptional.Itisthenameoftheplayer(oratargetselector)thatyouwishtoplaythesoundeffectfor. positionisoptional.Itisthexyzcoordinatewherethesoundwillbeplayedfrom. volumeisoptional.Thesoundcanbeheardwithinanaudiblesphere.Thevolumedeterminesthesizeofthataudiblesphereandthereforethedistanceawaythatthesoundcanbeheard.Thevolumemustbeatleastavalueof0.0.Thehigherthevalue,thelargertheaudiblesphereandthefurtherawaythesoundeffectcanbeheard. pitchisoptional.Itdeterminesthepitchforthesoundeffect.Itcanbeavaluebetween0.0and2.0.Thehigherthevalue,thehigherthepitch. minimumVolumeisoptional.Itisdeterminestheminimumvolumethatthesoundwillbeheardoutsideoftheaudiblesphere.Itcanbeavaluebetween0.0and1.0. PlaySoundCommandinMinecraftPS4Edition InMinecraftPS4Edition,thesyntaxtostartplayingasoundeffectis: /playsound[player][position][volume][pitch][minimumVolume] Definitions soundisthesoundeffecttostartplaying.(SeeListofSoundEffectNames.) playerisoptional.Itisthenameoftheplayer(oratargetselector)thatyouwishtoplaythesoundeffectfor. positionisoptional.Itisthexyzcoordinatewherethesoundwillbeplayedfrom. volumeisoptional.Thesoundcanbeheardwithinanaudiblesphere.Thevolumedeterminesthesizeofthataudiblesphereandthereforethedistanceawaythatthesoundcanbeheard.Thevolumemustbeatleastavalueof0.0.Thehigherthevalue,thelargertheaudiblesphereandthefurtherawaythesoundeffectcanbeheard. pitchisoptional.Itdeterminesthepitchforthesoundeffect.Itcanbeavaluebetween0.0and2.0.Thehigherthevalue,thehigherthepitch. minimumVolumeisoptional.Itisdeterminestheminimumvolumethatthesoundwillbeheardoutsideoftheaudiblesphere.Itcanbeavaluebetween0.0and1.0. PlaySoundCommandinMinecraftNintendoSwitchEdition InMinecraftNintendoSwitchEdition,thesyntaxtostartplayingasoundeffectis: /playsound[player][position][volume][pitch][minimumVolume] Definitions soundisthesoundeffecttostartplaying.(SeeListofSoundEffectNames.) playerisoptional.Itisthenameoftheplayer(oratargetselector)thatyouwishtoplaythesoundeffectfor. positionisoptional.Itisthexyzcoordinatewherethesoundwillbeplayedfrom. volumeisoptional.Thesoundcanbeheardwithinanaudiblesphere.Thevolumedeterminesthesizeofthataudiblesphereandthereforethedistanceawaythatthesoundcanbeheard.Thevolumemustbeatleastavalueof0.0.Thehigherthevalue,thelargertheaudiblesphereandthefurtherawaythesoundeffectcanbeheard. pitchisoptional.Itdeterminesthepitchforthesoundeffect.Itcanbeavaluebetween0.0and2.0.Thehigherthevalue,thehigherthepitch. minimumVolumeisoptional.Itisdeterminestheminimumvolumethatthesoundwillbeheardoutsideoftheaudiblesphere.Itcanbeavaluebetween0.0and1.0. PlaySoundCommandinMinecraftWindows10Edition InMinecraftWindows10Edition,thesyntaxtostartplayingasoundeffectis: /playsound[player][position][volume][pitch][minimumVolume] Definitions soundisthesoundeffecttostartplaying.(SeeListofSoundEffectNames.) playerisoptional.Itisthenameoftheplayer(oratargetselector)thatyouwishtoplaythesoundeffectfor. positionisoptional.Itisthexyzcoordinatewherethesoundwillbeplayedfrom. volumeisoptional.Thesoundcanbeheardwithinanaudiblesphere.Thevolumedeterminesthesizeofthataudiblesphereandthereforethedistanceawaythatthesoundcanbeheard.Thevolumemustbeatleastavalueof0.0.Thehigherthevalue,thelargertheaudiblesphereandthefurtherawaythesoundeffectcanbeheard. pitchisoptional.Itdeterminesthepitchforthesoundeffect.Itcanbeavaluebetween0.0and2.0.Thehigherthevalue,thehigherthepitch. minimumVolumeisoptional.Itisdeterminestheminimumvolumethatthesoundwillbeheardoutsideoftheaudiblesphere.Itcanbeavaluebetween0.0and1.0. PlaySoundCommandinMinecraftEducationEdition InMinecraftEducationEdition,thesyntaxtostartplayingasoundeffectis: /playsound[player][position][volume][pitch][minimumVolume] Definitions soundisthesoundeffecttostartplaying.(SeeListofSoundEffectNames.) playerisoptional.Itisthenameoftheplayer(oratargetselector)thatyouwishtoplaythesoundeffectfor. positionisoptional.Itisthexyzcoordinatewherethesoundwillbeplayedfrom. volumeisoptional.Thesoundcanbeheardwithinanaudiblesphere.Thevolumedeterminesthesizeofthataudiblesphereandthereforethedistanceawaythatthesoundcanbeheard.Thevolumemustbeatleastavalueof0.0.Thehigherthevalue,thelargertheaudiblesphereandthefurtherawaythesoundeffectcanbeheard. pitchisoptional.Itdeterminesthepitchforthesoundeffect.Itcanbeavaluebetween0.0and2.0.Thehigherthevalue,thehigherthepitch. minimumVolumeisoptional.Itisdeterminestheminimumvolumethatthesoundwillbeheardoutsideoftheaudiblesphere.Itcanbeavaluebetween0.0and1.0. Examples Java PE Xbox PS Nintendo Win10 Edu ExampleinJavaEdition(PC/Mac) ToplaytheCreativemusicforthenearestplayer(eveninSurvivalmode)inMinecraftJavaEdition(PC/Mac): /playsoundminecraft:music.creativemusic@p ToplaytheambientsoundsofawitherbossfortheplayernamedDigMinecraft: /playsoundminecraft:entity.wither.ambientvoiceDigMinecraft Toplaytheambientsoundsofanelderguardianforallplayers: /playsoundminecraft:entity.elder_guardian.ambientvoice@a ExampleinPocketEdition(PE) ToplaythesoundofthunderforthenearestplayerinMinecraftPE: /playsoundambient.weather.thunder@p ToplaythecursesoundsofanelderguardianfortheplayernamedDigMinecraft: /playsoundmob.elderguardian.curseDigMinecraft Toplaythesoundofanexplosionforallplayers: /playsoundrandom.explode@a ExampleinXboxOneEdition ToplaythesoundofadolphinsplashingforthenearestplayerinMinecraftXboxOneEdition: /playsoundmob.dolphin.splash@p ToplaythecursesoundsofazombiebeingconvertedintoadrownedfortheplayernamedDigMinecraft: /playsoundentity.zombie.converted_to_drownedDigMinecraft Toplaythesoundofabucketfillingwithfishforallplayers: /playsoundbucket.fill_fish@a ExampleinPS4Edition ToplaythesoundofrainforthenearestplayerinMinecraftPS4: /playsoundambient.weather.rain@p ToplaythecursesoundsofaturtleeggbreakingfortheplayernamedDigMinecraft: /playsoundblock.turtle_egg.breakDigMinecraft Toplaythesoundofanenderchestopeningforallplayers: /playsoundrandom.enderchestopen@a ExampleinNintendoSwitchEdition ToplaythesoundoftheenderdragongrowlingforthenearestplayerinMinecraftNintendoSwitchEdition: /playsoundmob.enderdragon.growl@p ToplaythecursesoundsofacameratakingapicturefortheplayernamedDigMinecraft: /playsoundcamera.take_pictureDigMinecraft Toplaythesoundofabigfallforarandomplayer: /playsounddamage.fallbig@r ExampleinWindows10Edition ToplaytheshootingsoundsofablazeforthenearestplayerinMinecraftWindows10Edition: /playsoundmob.blaze.shoot@p ToplayasoundoflevellingupfortheplayernamedDigMinecraft: /playsoundrandom.levelupDigMinecraft Toplaythesoundofafuseforallplayers: /playsoundrandom.fuse@a ExampleinEcuationEdition ToplaythegrowlingsoundsofanenderdragonforthenearestplayerinMinecraftEducationEdition: /playsoundmob.enderdragon.growl@p ToplayafizzsoundfortheplayernamedDigMinecraft: /playsoundrandom.fizzDigMinecraft Toplaythesoundofthunderforallplayers: /playsoundambient.weather.thunder@a HowtoEntertheCommand 1.OpentheChatWindow TheeasiestwaytorunacommandinMinecraftiswithinthechatwindow.ThegamecontroltoopenthechatwindowdependsontheversionofMinecraft: ForJavaEdition(PC/Mac),presstheTkeytoopenthechatwindow. ForPocketEdition(PE),taponthechatbuttonatthetopofthescreen. ForXboxOne,presstheD-Pad(right)onthecontroller. ForPS4,presstheD-Pad(right)onthecontroller. ForNintendoSwitch,presstherightarrowbuttononthecontroller. ForWindows10Edition,presstheTkeytoopenthechatwindow. ForEducationEdition,presstheTkeytoopenthechatwindow. 2.TypetheCommand Inthisexample,wearegoingtoplaytheeerie,ambientsoundofanelderguardianfortheplayernamedDigMinecraftwiththefollowingcommand: /playsoundminecraft:entity.elder_guardian.ambientvoiceDigMinecraft Typethecommandinthechatwindow.Asyouaretyping,youwillseethecommandappearinthelowerleftcornerofthegamewindow.PresstheEnterkeytorunthecommand. Oncethecheathasbeenentered,thesoundeffectwillstartplayingfortheplayer. Youwillseethemessage"Playedsound'minecraft:entity.elder_guardian.ambient'toDigMinecraft"appearinthelowerleftcornerofthegamewindowtoindicatethatthesoundeffecthasbeenplayed. Congratulations,youhavelearnedhowtousethe/playsoundcommandinMinecraft. OtherSoundCommands YoucanuseothersoundcommandsinMinecraftsuchas: HowtoUsetheStopSoundCommand OtherGameCommands YoucanuseothercommandsandcheatsinMinecraftsuchas: HowtoUsetheAbilityCommand HowtoUsetheAchievementCommand HowtoUsetheAdvancementCommand HowtoUsetheAlwaysDayCommand HowtoUsetheAttributeCommand HowtoUsetheBlockDataCommand HowtoUsetheBossbarCommand HowtoUsetheCameraShakeCommand HowtoUsetheClassroomModeCommand HowtoUsetheClearCommand HowtoUsetheClearSpawnpointCommand HowtoUsetheCloneCommand HowtoUsetheCodeCommand HowtoUsetheConnectCommand HowtoUsetheDataCommand HowtoUsetheDataPackCommand HowtoUsetheDayLockCommand HowtoUsetheDebugCommand HowtoUsetheDefaultGameModeCommand HowtoUsetheDifficultyCommand HowtoUsetheEffectCommand HowtoUsetheEnchantCommand HowtoUsetheEntityDataCommand HowtoUsetheEventCommand HowtoUsetheExecuteCommand HowtoUsetheExperienceCommand HowtoUsetheFillCommand HowtoUsetheFogCommand HowtoUsetheForceloadCommand HowtoUsetheFunctionCommand HowtoUsetheGameModeCommand HowtoUsetheGameruleCommand HowtoUsetheGiveCommand HowtoUsetheHelpCommand HowtoUsetheImmutableWorldCommand HowtoUsetheItemCommand HowtoUsetheJFRCommand HowtoUsetheKickCommand HowtoUsetheKillCommand HowtoUsetheLocateCommand HowtoUsetheLocateBiomeCommand HowtoUsetheMeCommand HowtoUsetheMobEventCommand HowtoUsetheMsgCommand HowtoUsetheParticleCommand HowtoUsethePlaceFeatureCommand HowtoUsethePublishCommand HowtoUsetheRecipeCommand HowtoUsetheReloadCommand HowtoUsetheReplaceItemCommand HowtoUsetheSayCommand HowtoUsetheScoreboardCommand HowtoUsetheSeedCommand HowtoUsetheSetBlockCommand HowtoUsetheSetMaxPlayersCommand HowtoUsetheSetWorldSpawnCommand HowtoUsetheSpawnpointCommand HowtoUsetheSpreadPlayersCommand HowtoUsetheStatsCommand HowtoUsetheStopSoundCommand HowtoUsetheSummonCommand HowtoUsetheTagCommand HowtoUsetheTakePictureCommand HowtoUsetheTeamCommand HowtoUsetheTeammsgCommand HowtoUsetheTeleportCommand HowtoUsetheTellCommand HowtoUsetheTellRawCommand HowtoUsetheTestForCommand HowtoUsetheTestForBlockCommand HowtoUsetheTestForBlocksCommand HowtoUsetheTickingAreaCommand HowtoUsetheTimeCommand HowtoUsetheTitleCommand HowtoUsetheTitleRawCommand HowtoUsetheTmCommand HowtoUsetheToggleDownfallCommand HowtoUsetheTpCommand HowtoUsetheTriggerCommand HowtoUsetheWCommand HowtoUsetheWbCommand HowtoUsetheWeatherCommand HowtoUsetheWorldBorderCommand HowtoUsetheWorldBuilderCommand HowtoUsetheWSServerCommand HowtoUsetheXpCommand HowtoFindyourXYZCoordinates HowtoKeepInventorywhenyouDie HowtoLimitCraftingtoUnlockedRecipes Shareon: Advertisements Home|AboutUs|ContactUs|Donate Whileusingthissite,youagreetohavereadandacceptedourTermsofServiceandPrivacyPolicy. DigMinecraft.comisnotaffiliatedwithMojang. Copyright©2014-2022DigMinecraft.com.Allrightsreserved.



請為這篇文章評分?