Getting started
15/08/2021 | 4min
Welcome to CommandBlock.io
This website creates a collection to group commands (oriented command_block) for the game: Minecraft.
Most commands require the executor have a high enough permission level. That means most commands are available in the singleplayer world only if cheats is enable, and available in multiplayer server only if they are ops. wiki
What is the command to get a command block ?
In the client, enter the commands in the chat window, for get command block. /give <pseudo> command_block
Get a impulse command block
/give @p command_block
Get a chain command block
/give @p chain_command_block
Get a repeating command block
/give @p repeating_command_block
Get a minecart command block
Minecart command block (impulse):
/give @p minecraft:command_block_minecart
List of commands
List of commands for Java edition.
pattern | description | wiki |
---|---|---|
/advancement | Gives, removes, or checks player advancements. | open |
/attribute | Queries, adds, removes or sets an entity attribute. | open |
/ban | Adds player to banlist. | open |
/ban-ip | Adds IP address to banlist. | open |
/banlist | Displays banlist. | open |
/bossbar | Creates and modifies bossbars. | open |
/clear | Clears items from player inventory. | open |
/clone | Copies blocks from one place to another. | open |
/data | Gets, merges, modifies and removes block entity and entity NBT data. | open |
/datapack | Controls loaded data packs. | open |
/debug | Starts or stops a debugging session. | open |
/defaultgamemode | Sets the default game mode. | open |
/deop | Revokes operator status from a player. | open |
/difficulty | Sets the difficulty level. | open |
/effect | Add or remove status effects. | open |
/enchant | Adds an enchantment to a player's selected item. | open |
/execute | Executes another command. | open |
/experience | An alias of /xp. Adds or removes player experience. | open |
/fill | Fills a region with a specific block. | open |
/forceload | Forces chunks to constantly be loaded or not. | open |
/function | Runs a function. | open |
/gamemode | Sets a player's game mode. | open |
/gamerule | Sets or queries a game rule value. | open |
/give | Gives an item to a player. | open |
/help | An alias of /?. Provides help for commands. | open |
/item | Manipulates items in inventories. | open |
/kick | Kicks a player off a server. | open |
/kill | Kills entities (players, mobs, items, etc.). | open |
/list | Lists players on the server. | open |
/locate | Locates closest structure. | open |
/locatebiome | Locates closest biome. | open |
/loot | Drops items from an inventory slot onto the ground. | open |
/me | Displays a message about the sender. | open |
/msg | An alias of /tell and /w. Displays a private message to other players. | open |
/op | Grants operator status to a player. | open |
/pardon | Removes entries from the banlist. | open |
/pardon-ip | Removes entries from the banlist. | open |
/particle | Creates particles. | open |
/perf | Captures info and metrics about the game for 10 seconds. | open |
/playsound | Plays a sound. | open |
/publish | Opens single-player world to local network. | open |
/recipe | Gives or takes player recipes. | open |
/reload | Reloads loot tables, advancements, and functions from disk. | open |
/save-all | Saves the server to disk. | open |
/save-off | Disables automatic server saves. | open |
/save-on | Enables automatic server saves. | open |
/say | Displays a message to multiple players. | open |
/schedule | Delays the execution of a function. | open |
/scoreboard | Manages scoreboard objectives and players. | open |
/seed | Displays the world seed. | open |
/setblock | Changes a block to another block. | open |
/setidletimeout | Sets the time before idle players are kicked. | open |
/setworldspawn | Sets the world spawn. | open |
/spawnpoint | Sets the spawn point for a player. | open |
/spectate | Make one player in spectator mode spectate an entity. | open |
/spreadplayers | Teleports entities to random locations. | open |
/stop | Stops a server. | open |
/stopsound | Stops a sound. | open |
/summon | Summons an entity. | open |
/tag | Controls entity tags. | open |
/team | Controls teams. | open |
/teammsg | An alias of /tm. Specifies the message to send to team. | open |
/teleport | An alias of /tp. Teleports entities. | open |
/tell | An alias of /msg and /w. Displays a private message to other players. | open |
/tellraw | Displays a JSON message to players. | open |
/time | Changes or queries the world's game time. | open |
/title | Manages screen titles. | open |
/tm | An alias of /teammsg. Specifies the message to send to team. | open |
/tp | An alias of /teleport. Teleports entities. | open |
/trigger | Sets a trigger to be activated. | open |
/w | An alias of /tell and /msg. Displays a private message to other players. | open |
/weather | Sets the weather. | open |
/whitelist | Manages server whitelist. | open |
/worldborder | Manages the world border. | open |
/xp | An alias of /experience | open |