Last active
August 29, 2015 14:05
-
-
Save Korko/bb792387667d7cfba300 to your computer and use it in GitHub Desktop.
[Minecraft][Command Blocks][1.8] Freezing Boots # When walking with these, water becomes ice and lava becomes obsidian
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CommandBlock order : West, East, Down, Up, North, South | |
# /give @p minecraft:diamond_boots 1 0 {display:{Lore:["Icy Boots"]},ench:[{id:102,Level:1}]} | |
# Only call once | |
/scoreboard objectives add IceBooted dummy | |
# Around a fast clock (20t/s) | |
# /fill ~ ~-1 ~ ~ ~-1 ~-1 redstone_block | |
# /fill ~ ~1 ~ ~ ~1 ~-1 stone | |
# Detecting which players has the boots | |
/scoreboard players set @a IceBooted 0 | |
scoreboard players set @a IceBooted 1 {Inventory:[{Slot:100b,tag:{display:{Lore:["Icy Boots"]},ench:[{id:102,Level:1}]}}]} | |
# Replacing Water with Ice | |
/execute @a[score_IceBooted_min=1] ~ ~ ~ fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 minecraft:ice 0 replace minecraft:water | |
# Replacing Lava with Obsidian | |
/execute @a[score_IceBooted_min=1] ~ ~ ~ fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 minecraft:obsidian 0 replace minecraft:lava | |
--- or in 1 command --- | |
/summon FallingSand ~ ~1 ~ {Block:redstone_block,Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/fill ~ ~0 ~1 ~ ~-12 ~1 redstone_block},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:setblock ~ ~3 ~1 stone},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:setblock ~ ~4 ~ command_block 0 replace {Command:fill ~ ~2 ~ ~ ~-16 ~1 air}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard objectives add IceBooted dummy},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/give @p minecraft:diamond_boots 1 0 {display:{Lore:["Icy Boots"]},ench:[{id:102,Level:1}]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:setblock ~3 ~-7 ~-1 command_block 0 replace {Command:/scoreboard players set @a IceBooted 0}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:setblock ~3 ~-6 ~1 command_block 0 replace {Command:scoreboard players set @a IceBooted 1 {Inventory:[{Slot:100b,tag:{display:{Lore:["Icy Boots"]},ench:[{id:102,Level:1}]}}]}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:setblock ~4 ~-5 ~-1 command_block 0 replace {Command:/execute @a[score_IceBooted_min=1] ~ ~ ~ fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 minecraft:ice 0 replace minecraft:water}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:setblock ~4 ~-4 ~1 command_block 0 replace {Command:/execute @a[score_IceBooted_min=1] ~ ~ ~ fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 minecraft:obsidian 0 replace minecraft:lava}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:gamerule commandBlockOutput false},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:"fill ~2 ~-2 ~ ~4 ~-2 ~ redstone_block"},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:"setblock ~2 ~-1 ~-1 command_block 0 replace {Command:/fill ~ ~ ~1 ~3 ~ ~1 stone 0 replace redstone_block}"},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:"setblock ~2 ~ ~1 command_block 0 replace {Command:/fill ~ ~ ~-1 ~3 ~ ~-1 redstone_block 0 replace stone}"},Time:1,Riding:{id:"FallingSand",Block:stone,Time:1}}}}}}}}}}}}}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TODO: