Commands

From 8x9craft
Revision as of 06:04, 7 March 2017 by Maciek (talk | contribs) (Teleportation)
Jump to: navigation, search

Commands are divided into two groups: one dealing with writing a program and another where commands manipulate a crab directly.

JS

With those commands you can program a crab inside Minecraft. Each player can write her or his own program line by line and execute it pointing at a crab and running command /js run.

Command signature Description
/js [line] [code] Insert a line of JavaScript code into current program at a given line number.
/js clear Clear current program.
/js files Display player's file list.
/js list Display contents of current program.
/js load [filename] Load contents of a given file into current program.
/js renum Renumber current program's lines.
/js run Run current program.
/js runall Run current program on all player's crabs.
/js save [filename] Save current program to a given file.
/js stop Stop execution of crab's program.
/js stopall Stop execution of all crabs programs.

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 a crab.
/crab creative on or off Change mode to the creative. if you set the creative mode then you can set the block without consume.

Moving a crab

Command signature Description
/crab back Move crab back.
/crab down Move crab down.
/crab forward Move crab forward.
/crab move Move a crab that's standing in the way.
/crab stepLeft Move crab left.
/crab stepRight Move crab right.
/crab turnLeft Turn crab left.
/crab turnRight Turn crab right.
/crab up Move crab up.

Teleportation

Command signature Description
/crab delhome [home name] Remove a named position.
/crab here [crab name] Teleport a crab with a given name onto a block pointed at by the player.
/crab home [home name] Teleport a crab pointed at by the player to a position saved under a given name.
/crab sethome [home name] Save the position that the player is looking at under a given name.
/crab tp [crab name] Teleport the player to where the crab with a given name is located.
/crab listhome Display a list with all saved positions.

Interacting with the world

Command signature Description
/crab dig Make a crab dig.
/crab inspect Inspect a block in front of a crab.
/crab place [slot] Place an item at a given slot in crab's inventory in front of it.

Navigation menu

Internal error

Jump to: navigation, search
[2f9228023a1899d0eda3c441] 2024-03-28 09:12:18: Fatal exception of type "Error"

Navigation menu