Minecraft commands cheat-sheet
From Wikistix
Applies to Minecraft Java Edition 1.16.x.
Command | Effect |
---|---|
/fill ~-1 ~ ~ ~1 ~2 ~10 air | Make a 3x3 tunnel 10 blocks deep in the +Z direction |
/fill ~-3 ~-1 ~-3 ~3 ~-1 ~3 oak_planks replace air | Lay oak planks in a 6x6 grid under the player |
/fill ~-3 ~ ~-3 ~3 ~ ~3 carpet_blue replace air | Lay blue carpet in a 6x6 grid under the player |
/kill @e[type=chicken,distance=..10] | kill all chickens in a 10 block radius |
/time set day | set time to 10:00 |
/weather clear | Set clear weather, stops rain |
/summon axolotl ~ ~ ~ {variant:4} | Summon a rare blue axolotl at the current location |
/teleport fred1 fred2 | Teleport player fred1 to the location of fred2 |
/give fred1 diamond 7 | Give played fred1 7 diamonds |
/locate fred1 | Report the coordinates/location of player fred1 |
/summon horse ~ ~ ~ {Variant:0,Saddle:1,Tame:1,ArmorItem:diamond_horse_armor} | Summon a white tame horse with saddle (didn't work) and diamond armour (also didn't work) to the current location |