0% found this document useful (0 votes)
14 views3 pages

Minecraft Command Block House Setup

The document contains a complex command structure for Minecraft that involves summoning a falling block with various nested command block minecarts. These command blocks execute a series of commands related to a custom diamond pickaxe, including setting up scoreboard objectives, spawning area effect clouds, and manipulating blocks in the game environment. The commands are designed to create a specific gameplay mechanic involving block mining and item tagging.

Uploaded by

danyasemen2402
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views3 pages

Minecraft Command Block House Setup

The document contains a complex command structure for Minecraft that involves summoning a falling block with various nested command block minecarts. These command blocks execute a series of commands related to a custom diamond pickaxe, including setting up scoreboard objectives, spawning area effect clouds, and manipulating blocks in the game environment. The commands are designed to create a specific gameplay mechanic involving block mining and item tagging.

Uploaded by

danyasemen2402
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

summon falling_block ~ ~.

5 ~ {Time:1,BlockState:{Name:redstone_block},Passengers:[
{id:armor_stand,Health:0,Passengers:[
{id:falling_block,Time:1,BlockState:{Name:activator_rail},Passengers:[
{id:command_block_minecart,Command:'gamerule commandBlockOutput false'},
{id:command_block_minecart,Command:'give @p diamond_pickaxe{display:
{Name:\'{"text":"3х3 кирка"}\'}} 1'},
{id:command_block_minecart,Command:'scoreboard objectives add usedPick
[Link]:minecraft.diamond_pickaxe'},
{id:command_block_minecart,Command:'setblock ~-1 ~-2 ~
repeating_command_block[facing=up]{Command:\'execute as @a[nbt=!{SelectedItem:
{id:"minecraft:diamond_pickaxe",Count:1b,tag:{display:{Name:\\\'{"text":"3х3
кирка"}\\\'}}}}, scores={usedPick=1..}] run scoreboard players reset @s
usedPick\',auto:1b} replace'},
{id:command_block_minecart,Command:'setblock ~1 ~-2 ~
repeating_command_block[facing=up]{Command:\'execute as @a[nbt={SelectedItem:
{id:"minecraft:diamond_pickaxe",Count:1b,tag:{display:{Name:\\\'{"text":"3х3
кирка"}\\\'}}}}, scores={usedPick=1..}] at @s unless data entity
@e[type=minecraft:item, distance=..7, nbt={Age:0s}, sort=nearest, limit=1] Thrower
run tag @e[type=minecraft:item, distance=..7, nbt={Age:0s}, sort=nearest, limit=1]
add minedBlock\',auto:1b} replace'},
{id:command_block_minecart,Command:'setblock ~1 ~-1 ~
chain_command_block[conditional=true,facing=up]{Command:\'execute as
@e[tag=minedBlock] at @s align xyz positioned ~0.5 ~0.5 ~0.5 run summon
minecraft:area_effect_cloud ~ ~ ~ {Duration:1,Tags:["toBreak"]}\',auto:1b}
replace'},
{id:command_block_minecart,Command:'setblock ~1 ~ ~
chain_command_block[conditional=true,facing=up]{Command:\'execute as
@e[tag=minedBlock] run tag @s remove minedBlock\',auto:1b} replace'},
{id:command_block_minecart,Command:'setblock ~1 ~1 ~
chain_command_block[conditional=true, facing=up]{Command:\'execute as
@e[tag=toBreak] at @s rotated as @a[nbt={SelectedItem:
{id:"minecraft:diamond_pickaxe",Count:1b,tag:{display:{Name:\\\'{"text":"3х3
кирка"}\\\'}}}}, scores={usedPick=1..}, sort=nearest, limit=1] run tp @s ~ ~ ~ ~
~\',auto:1b} replace'},

{id:command_block_minecart,Command:'setblock ~1 ~2 ~ chain_command_block[facing=up]
{Command:"execute as @e[tag=toBreak, x_rotation=45..90] at @s run tp @s ~ ~ ~ ~
90",auto:1b} replace'},
{id:command_block_minecart,Command:'setblock ~1 ~3 ~ chain_command_block[facing=up]
{Command:"execute as @e[tag=toBreak, x_rotation=-45..45] at @s run tp @s ~ ~ ~ ~
0",auto:1b} replace'},
{id:command_block_minecart,Command:'setblock ~1 ~4 ~ chain_command_block[facing=up]
{Command:"execute as @e[tag=toBreak, x_rotation=-90..-45] at @s run tp @s ~ ~ ~ ~ -
90",auto:1b} replace'},
{id:command_block_minecart,Command:'setblock ~1 ~5 ~ chain_command_block[facing=up]
{Command:"execute as @e[tag=toBreak, y_rotation=-45..45] at @s run tp @s ~ ~ ~ 0
~",auto:1b} replace'},
{id:command_block_minecart,Command:'setblock ~1 ~6 ~ chain_command_block[facing=up]
{Command:"execute as @e[tag=toBreak, y_rotation=45..135] at @s run tp @s ~ ~ ~ 90
~",auto:1b} replace'},
{id:command_block_minecart,Command:'setblock ~1 ~7 ~ chain_command_block[facing=up]
{Command:"execute as @e[tag=toBreak, y_rotation=135..180] at @s run tp @s ~ ~ ~ -
180 ~",auto:1b} replace'},
{id:command_block_minecart,Command:'setblock ~1 ~8 ~ chain_command_block[facing=up]
{Command:"execute as @e[tag=toBreak, y_rotation=-180..-135] at @s run tp @s ~ ~ ~ -
180 ~",auto:1b} replace'},
{id:command_block_minecart,Command:'setblock ~1 ~9 ~ chain_command_block[facing=up]
{Command:"execute as @e[tag=toBreak, y_rotation=-135..-45] at @s run tp @s ~ ~ ~ -
90 ~",auto:1b} replace'},
{id:command_block_minecart,Command:'setblock ~1 ~10 ~
chain_command_block[facing=up]{Command:\'execute at @e[tag=toBreak] as
@a[nbt={SelectedItem:{id:"minecraft:diamond_pickaxe",Count:1b,tag:{display:
{Name:\\\'{"text":"3х3 кирка"}\\\'}}}}, scores={usedPick=1..}, sort=nearest,
limit=1] anchored feet positioned ^1 ^1 ^ unless block ~ ~ ~
#minecraft:wither_immune run loot spawn ~ ~ ~ mine ~ ~ ~ mainhand\',auto:1b}
replace'},
{id:command_block_minecart,Command:'setblock ~1 ~11 ~
chain_command_block[facing=up]{Command:\'execute at @e[tag=toBreak] as
@a[nbt={SelectedItem:{id:"minecraft:diamond_pickaxe",Count:1b,tag:{display:
{Name:\\\'{"text":"3х3 кирка"}\\\'}}}}, scores={usedPick=1..}, sort=nearest,
limit=1] anchored feet positioned ^ ^1 ^ unless block ~ ~ ~
#minecraft:wither_immune run loot spawn ~ ~ ~ mine ~ ~ ~ mainhand\',auto:1b}
replace'},
{id:command_block_minecart,Command:'setblock ~1 ~12 ~
chain_command_block[facing=up]{Command:\'execute at @e[tag=toBreak] as
@a[nbt={SelectedItem:{id:"minecraft:diamond_pickaxe",Count:1b,tag:{display:
{Name:\\\'{"text":"3х3 кирка"}\\\'}}}}, scores={usedPick=1..}, sort=nearest,
limit=1] anchored feet positioned ^-1 ^1 ^ unless block ~ ~ ~
#minecraft:wither_immune run loot spawn ~ ~ ~ mine ~ ~ ~ mainhand\',auto:1b}
replace'},
{id:command_block_minecart,Command:'setblock ~1 ~13 ~
chain_command_block[facing=up]{Command:\'execute at @e[tag=toBreak] as
@a[nbt={SelectedItem:{id:"minecraft:diamond_pickaxe",Count:1b,tag:{display:
{Name:\\\'{"text":"3х3 кирка"}\\\'}}}}, scores={usedPick=1..}, sort=nearest,
limit=1] anchored feet positioned ^-1 ^ ^ unless block ~ ~ ~
#minecraft:wither_immune run loot spawn ~ ~ ~ mine ~ ~ ~ mainhand\',auto:1b}
replace'},
{id:command_block_minecart,Command:'setblock ~1 ~14 ~
chain_command_block[facing=up]{Command:\'execute at @e[tag=toBreak] as
@a[nbt={SelectedItem:{id:"minecraft:diamond_pickaxe",Count:1b,tag:{display:
{Name:\\\'{"text":"3х3 кирка"}\\\'}}}}, scores={usedPick=1..}, sort=nearest,
limit=1] anchored feet positioned ^-1 ^-1 ^ unless block ~ ~ ~
#minecraft:wither_immune run loot spawn ~ ~ ~ mine ~ ~ ~ mainhand\',auto:1b}
replace'},
{id:command_block_minecart,Command:'setblock ~1 ~15 ~
chain_command_block[facing=up]{Command:\'execute at @e[tag=toBreak] as
@a[nbt={SelectedItem:{id:"minecraft:diamond_pickaxe",Count:1b,tag:{display:
{Name:\\\'{"text":"3х3 кирка"}\\\'}}}}, scores={usedPick=1..}, sort=nearest,
limit=1] anchored feet positioned ^ ^-1 ^ unless block ~ ~ ~
#minecraft:wither_immune run loot spawn ~ ~ ~ mine ~ ~ ~ mainhand\',auto:1b}
replace'},
{id:command_block_minecart,Command:'setblock ~1 ~16 ~
chain_command_block[facing=up]{Command:\'execute at @e[tag=toBreak] as
@a[nbt={SelectedItem:{id:"minecraft:diamond_pickaxe",Count:1b,tag:{display:
{Name:\\\'{"text":"3х3 кирка"}\\\'}}}}, scores={usedPick=1..}, sort=nearest,
limit=1] anchored feet positioned ^1 ^-1 ^ unless block ~ ~ ~
#minecraft:wither_immune run loot spawn ~ ~ ~ mine ~ ~ ~ mainhand\',auto:1b}
replace'},
{id:command_block_minecart,Command:'setblock ~1 ~17 ~
chain_command_block[facing=up]{Command:\'execute at @e[tag=toBreak] as
@a[nbt={SelectedItem:{id:"minecraft:diamond_pickaxe",Count:1b,tag:{display:
{Name:\\\'{"text":"3х3 кирка"}\\\'}}}}, scores={usedPick=1..}, sort=nearest,
limit=1] anchored feet positioned ^1 ^ ^ unless block ~ ~ ~
#minecraft:wither_immune run loot spawn ~ ~ ~ mine ~ ~ ~ mainhand\',auto:1b}
replace'},

{id:command_block_minecart,Command:'setblock ~1 ~18 ~
chain_command_block[conditional=true,facing=up]{Command:\'gamerule doTileDrops
false\',auto:1b} replace'},

{id:command_block_minecart,Command:'setblock ~1 ~19 ~
chain_command_block[facing=up]{Command:"execute at @e[tag=toBreak] anchored feet
positioned ^1 ^1 ^ unless block ~ ~ ~ #minecraft:wither_immune run setblock ~ ~ ~
minecraft:air destroy",auto:1b} replace'},
{id:command_block_minecart,Command:'setblock ~1 ~20 ~
chain_command_block[facing=up]{Command:"execute at @e[tag=toBreak] anchored feet
positioned ^ ^1 ^ unless block ~ ~ ~ #minecraft:wither_immune run setblock ~ ~ ~
minecraft:air destroy",auto:1b} replace'},
{id:command_block_minecart,Command:'setblock ~1 ~21 ~
chain_command_block[facing=up]{Command:"execute at @e[tag=toBreak] anchored feet
positioned ^-1 ^1 ^ unless block ~ ~ ~ #minecraft:wither_immune run setblock ~ ~ ~
minecraft:air destroy",auto:1b} replace'},
{id:command_block_minecart,Command:'setblock ~1 ~22 ~
chain_command_block[facing=up]{Command:"execute at @e[tag=toBreak] anchored feet
positioned ^-1 ^ ^ unless block ~ ~ ~ #minecraft:wither_immune run setblock ~ ~ ~
minecraft:air destroy",auto:1b} replace'},
{id:command_block_minecart,Command:'setblock ~1 ~23 ~
chain_command_block[facing=up]{Command:"execute at @e[tag=toBreak] anchored feet
positioned ^-1 ^-1 ^ unless block ~ ~ ~ #minecraft:wither_immune run setblock ~ ~ ~
minecraft:air destroy",auto:1b} replace'},
{id:command_block_minecart,Command:'setblock ~1 ~24 ~
chain_command_block[facing=up]{Command:"execute at @e[tag=toBreak] anchored feet
positioned ^ ^-1 ^ unless block ~ ~ ~ #minecraft:wither_immune run setblock ~ ~ ~
minecraft:air destroy",auto:1b} replace'},
{id:command_block_minecart,Command:'setblock ~1 ~25 ~
chain_command_block[facing=up]{Command:"execute at @e[tag=toBreak] anchored feet
positioned ^1 ^-1 ^ unless block ~ ~ ~ #minecraft:wither_immune run setblock ~ ~ ~
minecraft:air destroy",auto:1b} replace'},
{id:command_block_minecart,Command:'setblock ~1 ~26 ~
chain_command_block[facing=up]{Command:"execute at @e[tag=toBreak] anchored feet
positioned ^1 ^ ^ unless block ~ ~ ~ #minecraft:wither_immune run setblock ~ ~ ~
minecraft:air destroy",auto:1b} replace'},

{id:command_block_minecart,Command:'setblock ~1 ~27 ~
chain_command_block[conditional=true,facing=up]{Command:\'gamerule doTileDrops
true\',auto:1b} replace'},
{id:command_block_minecart,Command:'setblock ~1 ~28 ~
chain_command_block[conditional=true,facing=up]{Command:\'execute as
@a[nbt={SelectedItem:{id:"minecraft:diamond_pickaxe",Count:1b,tag:{display:
{Name:\\\'{"text":"3х3 кирка"}\\\'}}}}, scores={usedPick=1..}, sort=nearest,
limit=1] run scoreboard players reset @s usedPick\',auto:1b} replace'},

{id:command_block_minecart,Command:'forceload add ~1 ~ ~-1 ~'},


{id:command_block_minecart,Command:'setblock ~ ~1 ~
command_block{auto:1,Command:"fill ~ ~ ~ ~ ~-3 ~ air"}'},
{id:command_block_minecart,Command:'kill
@e[type=command_block_minecart,distance=..1]'}]}]}]}

You might also like