mdbtxt1
mdbtxt2
Proceed to Safety

Minecraft: Commands, Files, Versions  

Gaining Access to Heads/Skulls You Find in Worlds

Worlds often use heads or skulls (as items placed as decorations) that are not available in the standard creative inventory. These are created from player skins, and you can get the data describing them, then usually you can use a command to get access to copies of the same item. The command you need is usually too large to type in the chat so you have to use a command block (where fortunately the Paste command works), and you can often find the command code on a public website. The process I use is:

Other Decorative Items

Brick

/summon minecraft:item ~ ~ ~ {Item:{id:brick,Count:1}}

Coloured Dye (e.g. Rose Red dye)

Use the Damage tag to specify the colour:

/summon minecraft:item ~ ~ ~ {Item:{id:dye,Damage:1,Count:1}}

Colour in sign text

Place a sign, then stand in the spot where it is, and type

/blockdata ~ ~0.5 ~ {Text1:"{\"text\":\"MESSAGE\",\"color\":\"blue\"}"}

(if the sign is on a wall at eye level, stand directly in front of it and substitute "~1.5" for "~0.5")

Name Tag

/summon minecraft:item ~ ~ ~ {Item:{id:name_tag,Count:1}}

Commands for Editing Worlds

clone [first coords] [second coords] [dest coords]

1.8 to 1.12:
/clone 143 27 -32 123 23 -12 ~ ~2 ~

first option:

replace (default) : Clones all blocks, including air

masked : only operate on blocks where the source is non-air. (e.g. copy a hollow object so it surrounds something else)

filtered : Clones only blocks that match the 3rd argument

2nd option:

normal : (default, but required if you gave a 1st option)

move : fill the source area with air (i.e. you have "moved" something rather than cloning)

force : Skip the overlap check

/fill [first corner] [opposite corner] [blocktype]

1.8 to 1.12:
/fill 143 27 -32 144 30 -30 minecraft:wool 5 replace

(note that you can type minecraft: then hit tab for autocompletion)

1st option (optional unless you also want to give the 2nd option) : data value (e.g. colour of wooden planks)

2nd option (optional):

replace (default) : Act on all blocks

replace [blocktype] : Act only if the target block is of the given type

destroy : Blocks that were in the target are are destroyed, as if they had been mined

keep : Act only if the target block is non-air.

hollow : Create a hollow rectangular solid (filled with air except the outermost layer)

outline : Act only on blocks in the outer layer of the target area (leaving the inside unchanged)

If you know the size of the area to fill and are certain you have the signs right, you can use ~ symbol to give the coordinates relative to your location; e.g. to create a 7×7 stone platform under where you are presently standing:

fill ~-3 ~-1 ~-3 ~3 ~-1 ~3 minecraft:stone

to change cobblestone to stone:

1.8 to 1.12:
/fill <x1> <y1> <z1> <x2> <y2> <z2> stone 0 replace cobblestone

1.13+:
/fill <x1> <y1> <z1> <x2> <y2> <z2> stone replace cobblestone

Blockwise-Parallel Computational Operations

Restore starting configuration:

/fill 230 68 323 238 68 326 air 0

/fill 231 68 323 231 68 326 stone 0

/fill 235 68 324 238 68 324 sand 0

In range A:

change air to cobblestone:

/fill 235 68 323 238 68 326 cobblestone 0 replace air

change clay to air:

/fill 235 68 323 238 68 326 air 0 replace minecraft:redglazedterracotta

Then clone A onto B with options masked normal

/clone 235 68 323 238 68 326 230 68 323 masked normal

Links

Related pages on my site:

Alan Becker's Ghiblicraft Projects

Bitwise Parallel Computation


Robert Munafo's home pages on AWS   © 1996-2022 Robert P. Munafo.aboutcontact
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License. Details here.

This page was written in the "embarrassingly readable" markup language RHTF, and was last updated on 2021 Sep 06. s.27