Difference between revisions of "Commands/ja"
From 8x9craft
(Created page with "JSコマンドを使えば、マインクラフトの中でプログラムを作ることができます。はっくんの持ち主であれば、1行ずつチャット入...") |
(Created page with "{| class="example" ! Command signature ! Description |- | /js [行番号] [プログラム] | 行番号を指定してプログラムを作ります |- | /js clear | 今編集...") |
||
Line 11: | Line 11: | ||
! Description | ! Description | ||
|- | |- | ||
− | | /js [ | + | | /js [行番号] [プログラム] |
− | | | + | | 行番号を指定してプログラムを作ります |
|- | |- | ||
| /js clear | | /js clear | ||
− | | | + | | 今編集中のプログラムを消去します |
|- | |- | ||
| /js files | | /js files | ||
− | | | + | | プレイヤーが作成したプログラムの一覧を表示します |
|- | |- | ||
| /js list | | /js list | ||
− | | | + | | 現在編集中のプログラムを行番号付きで表示します |
|- | |- | ||
− | | /js load [ | + | | /js load [ファイル名] |
− | | | + | | 保存されているプログラムを編集中のプログラムとして読み込みます |
|- | |- | ||
| /js renum | | /js renum | ||
− | | | + | | 現在編集中のプログラムの行番号を整頓します |
|- | |- | ||
| /js run | | /js run | ||
− | | | + | | 現在編集中のプログラムを実行します |
|- | |- | ||
| /js runall | | /js runall | ||
− | | | + | | 現在編集中のプログラムを全部のはっくんで実行します |
|- | |- | ||
− | | /js save [ | + | | /js save [ファイル名] |
− | | | + | | 現在編集中のプログラムを保存します |
|- | |- | ||
| /js stop | | /js stop | ||
− | | | + | | 現在実行中のプログラムを停止します |
|- | |- | ||
| /js stopall | | /js stopall | ||
− | | | + | | 全部のはっくんに対して現在実行中のプログラムを停止します |
|} | |} | ||
Revision as of 01:54, 24 March 2017
8x9Craftのコマンドには、「はっくんコマンド」というはっくんを直接操作するコマンドと、「JSコマンド」というプログラムを作るためのコマンドの2つがあります。
Contents
JSコマンド
JSコマンドを使えば、マインクラフトの中でプログラムを作ることができます。はっくんの持ち主であれば、1行ずつチャット入力画面モードからプログラムを入力し、/js run
でプログラムを実行できます。
Command signature | Description |
---|---|
/js [行番号] [プログラム] | 行番号を指定してプログラムを作ります |
/js clear | 今編集中のプログラムを消去します |
/js files | プレイヤーが作成したプログラムの一覧を表示します |
/js list | 現在編集中のプログラムを行番号付きで表示します |
/js load [ファイル名] | 保存されているプログラムを編集中のプログラムとして読み込みます |
/js renum | 現在編集中のプログラムの行番号を整頓します |
/js run | 現在編集中のプログラムを実行します |
/js runall | 現在編集中のプログラムを全部のはっくんで実行します |
/js save [ファイル名] | 現在編集中のプログラムを保存します |
/js stop | 現在実行中のプログラムを停止します |
/js stopall | 全部のはっくんに対して現在実行中のプログラムを停止します |
Crab
Managing crabs
Command signature | Description |
---|---|
/crab list | Display a list of your crabs living in the world. |
/crab name [name] | Give a particular name to the crab. |
/crab creative [on or off] | Change the mode to creative. Under the creative mode you can place blocks without them being taken from the crab's inventory. |
Moving a crab
Command signature | Description |
---|---|
/crab back | Move the crab back. |
/crab down | Move the crab down. |
/crab forward | Move the crab forward. |
/crab move | Move the crab if it's standing in the way. |
/crab stepLeft | Move the crab left. |
/crab stepRight | Move the crab right. |
/crab turnLeft | Make the crab turn left. |
/crab turnRight | Make the crab turn right. |
/crab up | Move the crab up. |
Teleportation
Command signature | Description |
---|---|
/crab delhome [home name] | Remove a named position. |
/crab here [crab name] | Teleport the crab with a given name onto the block pointed at by the player. |
/crab home [home name] | Teleport the crab pointed at by the player to the position saved under the given name. |
/crab sethome [home name] | Save the position that the player is looking at under the given name. |
/crab tp [crab name] | Teleport the player to where the crab with the given name is located. |
/crab listhome | Display a list with all saved positions. |
Interacting with the world
Command signature | Description |
---|---|
/crab dig | Make the crab dig. |
/crab inspect | Inspect the block in front of the crab. |
/crab place [slot] | Place the item at the given slot in the crab's inventory in front of the crab. |