This can relate both to players and entities. Instead of specifying coordinates, some commands allow specifying a target. the command /tp ~5 ~ ~-10 would move The Player 5 meters/blocks to the East, keep the height, and 10 meters/blocks to the South (as it is a negative offset), and /tp ^5 ^ ^-10 would move The Player 5 meters/blocks to the player's perceived right, keep the height, and 10 meters/blocks backward (as it is a negative offset). Note that to use The Player's position one can use tilde '~' or caret '^' offsets. The z value indicates distance towards North from the origin. The y value indicates height above bedrock. The x value indicates distance towards the East from the origin. Positional counts are zero-based - e.g., the first slot in a player's 36-slot inventory is referred to in commands as zero and the last is 35.Ī coordinate set of int's denoting a coordinate. The different types of arguments are described in this section.Īny combination of alphanumeric characters.Ī number, which might have range associated with it. In the example given a Player identifies a player by using a target type argument. Most commands accept arguments, i.e., where the first part indicates what the arguments refer to, and the second part refers to the type of argument. /xp – Adds or removes player experience./wsserver – Attempts to connect to the websocket server on the provided URL.
(requires Education Edition features enabled) /worldbuilder or /wb - Toggle World Builder status of a caller./videostreamaction - Performs a videostream related action./videostream - Attempts to connect to a websocket server to send a video.
Cool commands in minecraft ps4 update#
/tickingarea – Sets areas that update without any Players in them./testforblocks – Tests whether the blocks in two regions match./testforblock – Tests whether a block is in a location./testfor – Tests for a player or other entity./tellraw - Sends a JSON message to players./tell or /msg or /w – displays a private message to other players./stopsound – Stops a currently playing sound./spreadplayers – Teleports entities to random locations within a radius./spawnpoint – Sets spawn point for a player./setworldspawn – Sets the world spawn point./setmaxplayers – Sets the maximum number of players for the current game session./setblock – Changes a block to another block./scoreboard – Tracks and displays scores for various objectives./say – Displays a message to multiple players./replaceitem – Replaces inventory items./reload – reloads all functions from all behavior packs./op – Grants operator status to a player./mobevent - Controls what mob events are allowed to run./me - Displays custom chat message starting with player's name./locate - Locates the nearest selected structure ( Update 1.0)./kill – Kills entities (players, mobs, items, etc.)./immutableworld - Sets the immutable state of a world (requires Education Edition features enabled)./function – Runs a command found in the corresponding function file./fill – Fills a region with a specific block./effect - Grants a status effect to an entity./deop – Revoke operator status from a player./connect - connects to a server in-game ( Update 1.0)./clone – Copies blocks from one place to another./alwaysday or /daylock - Locks and unlocks the day-night cycle./ability - Sets a player's ability (requires Education Edition features enabled).The current commands in Minecraft Pocket Edition are. To turn on cheats, go to Settings > Game > Cheats: On. Note that for Commands to work, "Cheats" needs to be enabled, which in turn will disable achievements. When typing, possible completion will show.Ĭommands can also be used by entering them in a Command Block. For devices having the Tab-key, it can be used to complete parts of the commands. To execute a command The Player must enter Chat, precede the command with a forward slash, give the arguments and hit the return key. Commands are mostly used to make any action in-game happen automatically, such as Mob spawning, Block placing, inflicting Status Effects, teleporting, etc.