CommandSeed

これは Java(ジャバ)ばんの ページです。 とうごうばん(Bedrock)は こちら →

← ぜんぶの コマンドに もどる

効果(こうか)音(おん)を再生(さいせい)する/playsound

指定(してい)したサウンドを対象(たいしょう)プレイヤーへ任意(にんい)の位置(いち)・音量(おんりょう)・音程(おんてい)で再生(さいせい)します。

だれが つかえるか

レベル 2 … チートが ON の ワールドか、サーバーの OP(gamemasters)だけ つかえます。

どこで つかえるか

ひとりで あそぶ ワールドでも、みんなで あそぶ サーバーでも つかえます。

かきかた

ここは かきかたを みる ところです。えらんで つくることは できません。 かんたんモード と じょうけんを かさねる では、えらぶだけで つくれます。

ぜんぶで 67 とおり あります。おおいので、はじめの ことばで まとめて あります。おしたら ひらきます。

<sound>67 とおり
  • /playsound <sound>
  • /playsound <sound> ambient
  • /playsound <sound> ambient <targets>
  • /playsound <sound> ambient <targets> <pos>
  • /playsound <sound> ambient <targets> <pos> <volume>
  • /playsound <sound> ambient <targets> <pos> <volume> <pitch>
  • /playsound <sound> ambient <targets> <pos> <volume> <pitch> <minVolume>
  • /playsound <sound> block
  • /playsound <sound> block <targets>
  • /playsound <sound> block <targets> <pos>
  • /playsound <sound> block <targets> <pos> <volume>
  • /playsound <sound> block <targets> <pos> <volume> <pitch>
  • /playsound <sound> block <targets> <pos> <volume> <pitch> <minVolume>
  • /playsound <sound> hostile
  • /playsound <sound> hostile <targets>
  • /playsound <sound> hostile <targets> <pos>
  • /playsound <sound> hostile <targets> <pos> <volume>
  • /playsound <sound> hostile <targets> <pos> <volume> <pitch>
  • /playsound <sound> hostile <targets> <pos> <volume> <pitch> <minVolume>
  • /playsound <sound> master
  • /playsound <sound> master <targets>
  • /playsound <sound> master <targets> <pos>
  • /playsound <sound> master <targets> <pos> <volume>
  • /playsound <sound> master <targets> <pos> <volume> <pitch>
  • /playsound <sound> master <targets> <pos> <volume> <pitch> <minVolume>
  • /playsound <sound> music
  • /playsound <sound> music <targets>
  • /playsound <sound> music <targets> <pos>
  • /playsound <sound> music <targets> <pos> <volume>
  • /playsound <sound> music <targets> <pos> <volume> <pitch>
  • /playsound <sound> music <targets> <pos> <volume> <pitch> <minVolume>
  • /playsound <sound> neutral
  • /playsound <sound> neutral <targets>
  • /playsound <sound> neutral <targets> <pos>
  • /playsound <sound> neutral <targets> <pos> <volume>
  • /playsound <sound> neutral <targets> <pos> <volume> <pitch>
  • /playsound <sound> neutral <targets> <pos> <volume> <pitch> <minVolume>
  • /playsound <sound> player
  • /playsound <sound> player <targets>
  • /playsound <sound> player <targets> <pos>
  • /playsound <sound> player <targets> <pos> <volume>
  • /playsound <sound> player <targets> <pos> <volume> <pitch>
  • /playsound <sound> player <targets> <pos> <volume> <pitch> <minVolume>
  • /playsound <sound> record
  • /playsound <sound> record <targets>
  • /playsound <sound> record <targets> <pos>
  • /playsound <sound> record <targets> <pos> <volume>
  • /playsound <sound> record <targets> <pos> <volume> <pitch>
  • /playsound <sound> record <targets> <pos> <volume> <pitch> <minVolume>
  • /playsound <sound> ui
  • /playsound <sound> ui <targets>
  • /playsound <sound> ui <targets> <pos>
  • /playsound <sound> ui <targets> <pos> <volume>
  • /playsound <sound> ui <targets> <pos> <volume> <pitch>
  • /playsound <sound> ui <targets> <pos> <volume> <pitch> <minVolume>
  • /playsound <sound> voice
  • /playsound <sound> voice <targets>
  • /playsound <sound> voice <targets> <pos>
  • /playsound <sound> voice <targets> <pos> <volume>
  • /playsound <sound> voice <targets> <pos> <volume> <pitch>
  • /playsound <sound> voice <targets> <pos> <volume> <pitch> <minVolume>
  • /playsound <sound> weather
  • /playsound <sound> weather <targets>
  • /playsound <sound> weather <targets> <pos>
  • /playsound <sound> weather <targets> <pos> <volume>
  • /playsound <sound> weather <targets> <pos> <volume> <pitch>
  • /playsound <sound> weather <targets> <pos> <volume> <pitch> <minVolume>

くわしい せつめい

音(おと)の名前(なまえ)を指定(してい)して鳴(な)らします。Java では 2 つめに、設定(せってい)のどの音量(おんりょう)つまみを使(つか)うかを master・music・block・hostile・player などから選(えら)んで書(か)きます。ここが Bedrock と大(おお)きく違(ちが)うところです。音量(おんりょう)を 1 より大(おお)きくすると遠(とお)くまで届(とど)き、音程(おんてい)は 0.5 で低(ひく)く 2.0 で高(たか)くなります。

えらぶだけで つくる