AstroworldCOMMANDS

Minecraft Commands Cheat Sheet

Java Edition 1.21 — 57 commands

Bossbar (1)

CommandSyntaxPermission
/bossbar/bossbar <add|get|list|remove|set> ...GM

Data (6)

CommandSyntaxPermission
/advancement/advancement <grant|revoke> <targets> <everything|from|only|through|until> [<advancement>] [<criterion>]GM
/data/data <get|merge|modify|remove> <target> <path> [<value>]GM
/recipe/recipe <give|take> <targets> <recipe|*>GM
/scoreboard/scoreboard <objectives|players> ...GM
/tag/tag <targets> <add|list|remove> <name>GM
/team/team <add|empty|join|leave|list|modify|remove> ...GM

Display (5)

CommandSyntaxPermission
/me/me <action>All
/msg/msg <targets> <message>All
/say/say <message>GM
/tellraw/tellraw <targets> <message>GM
/title/title <targets> <clear|reset|actionbar|subtitle|times|title> ...GM

Execute (1)

CommandSyntaxPermission
/execute/execute <subcommand> ... run <command>GM

Gameplay (3)

CommandSyntaxPermission
/defaultgamemode/defaultgamemode <mode>GM
/difficulty/difficulty [<difficulty>]GM
/gamerule/gamerule <rule> [<value>]GM

Logic (4)

CommandSyntaxPermission
/function/function <name> [with <storage> [<path>]]GM
/particle/particle <name> [<pos>] [<delta>] [<speed>] [<count>] [force|normal] [<viewers>]GM
/playsound/playsound <sound> <source> <targets> [<pos>] [<volume>] [<pitch>] [<minVolume>]GM
/schedule/schedule <function|clear> <function> <time> [append|replace]GM

Player (13)

CommandSyntaxPermission
/clear/clear [<targets>] [<item>] [<maxCount>]GM
/effect/effect <give|clear> <targets> [<effect>] [<seconds>] [<amplifier>] [<hideParticles>]GM
/enchant/enchant <targets> <enchantment> [<level>]GM
/experience/experience <add|set|query> <targets> <amount> [levels|points]GM
/gamemode/gamemode <gamemode> [<target>]GM
/give/give <targets> <item> [<count>]GM
/kill/kill [<targets>]GM
/spawnpoint/spawnpoint [<targets>] [<pos>] [<angle>]GM
/spectate/spectate [<target>] [<player>]GM
/teleport/teleport [<targets>] <destination>|<location> [<rotation>] [facing <facingLocation>] [facing entity <facingEntity> <facingAnchor>]GM
/tp/tp [<targets>] <destination>|<location> [<rotation>]GM
/trigger/trigger <objective> [add|set <value>]All
/xp/xp <add|set|query> <targets> <amount> [levels|points]GM

Server (9)

CommandSyntaxPermission
/ban/ban <targets> [<reason>]Admin
/deop/deop <targets>Admin
/kick/kick <targets> [<reason>]Admin
/list/list [uuids]All
/op/op <targets>Admin
/reload/reloadAdmin
/save-all/save-all [flush]Owner
/stop/stopOwner
/whitelist/whitelist <add|list|off|on|reload|remove> [<targets>]Admin

Special (3)

CommandSyntaxPermission
/debug/debug <start|stop|function> [<function>]Admin
/publish/publish [<allowCommands>] [<gamemode>] [<port>]Owner
/tick/tick <query|rate|freeze|step|unfreeze|sprint> [<value>]Admin

Time & Weather (2)

CommandSyntaxPermission
/time/time <add|query|set> <value>GM
/weather/weather <clear|rain|thunder> [<duration>]GM

World (10)

CommandSyntaxPermission
/clone/clone [from <sourceDimension>] <begin> <end> [to <targetDimension>] <destination> [replace|masked|filtered] [force|move|normal] [<filter>]GM
/fill/fill <from> <to> <block> [destroy|hollow|keep|outline|replace] [<filter>]GM
/forceload/forceload <add|remove|query> <from> [<to>]GM
/locate/locate <structure|biome|poi> <id>GM
/seed/seedGM
/setblock/setblock <pos> <block> [destroy|keep|replace]GM
/setworldspawn/setworldspawn [<pos>] [<angle>]GM
/spreadplayers/spreadplayers <center> <spreadDistance> <maxRange> [under <maxHeight>] <respectTeams> <targets>GM
/summon/summon <entity> [<pos>] [<nbt>]GM
/worldborder/worldborder <add|center|damage|get|set|warning> ...GM