Advertisement
EverTGX

Coronavirus in one command (by Lataderefresco)

Nov 22nd, 2020
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 3.31 KB | None | 0 0
  1. summon falling_block ~ ~1 ~ {BlockState:{Name:stone},Time:1,Passengers:[{id:falling_block,BlockState:{Name:redstone_block},Time:1,Passengers:[{id:falling_block,BlockState:{Name:activator_rail},Time:1,Passengers:[{id:command_block_minecart,Command:"gamerule commandBlockOutput false"},{id:command_block_minecart,Command:"fill ~2 ~-1 ~-1 ~8 ~1 ~2 black_concrete hollow"},{id:command_block_minecart,Command:"fill ~2 ~ ~-1 ~8 ~ ~2 black_stained_glass replace black_concrete"},{id:command_block_minecart,Command:"setblock ~1 ~ ~ oak_wall_sign[facing=west]{Text1:\"{\\\"text\\\":\\\"\\\"}\",Text2:\"{\\\"text\\\":\\\"Disable\\\",\\\"bold\\\":true}\",Text3:\"{\\\"text\\\":\\\"Coronavirus (SARS - CoV - 2)\\\",\\\"bold\\\":true}\",Text4:\"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-1 ~-1 ~7 ~1 ~2 air\\\"}}\"}"},{id:command_block_minecart,Command:"fill ~3 ~ ~ ~7 ~ ~1 chain_command_block[facing=east]"},{id:command_block_minecart,Command:"setblock ~3 ~ ~1 chain_command_block[facing=south]"},{id:command_block_minecart,Command:"fill ~7 ~ ~1 ~4 ~ ~1 chain_command_block[facing=west]"},{id:command_block_minecart,Command:"setblock ~7 ~ ~ chain_command_block[facing=south]"},{id:command_block_minecart,Command:"setblock ~3 ~ ~ repeating_command_block[facing=east]"},{id:command_block_minecart,Command:"data merge block ~3 ~ ~1 {auto:1,Command:\"tag @e[type=minecraft:area_effect_cloud] add CoronavirusP\"}"},{id:command_block_minecart,Command:"data merge block ~4 ~ ~1 {auto:1,Command:\"execute at @e[tag=CoronavirusP] run tag @e[distance=..3] add CoronavirusP\"}"},{id:command_block_minecart,Command:"data merge block ~5 ~ ~1 {auto:1,Command:\"execute unless entity @e[type=bat, limit=1] run summon bat ~ ~1 ~\"}"},{id:command_block_minecart,Command:"data merge block ~6 ~ ~1 {auto:1,Command:\"execute at @e[tag=CoronavirusP] run effect give @e[limit=1,sort=nearest] minecraft:weakness 1 10 true\"}"},{id:command_block_minecart,Command:"data merge block ~7 ~ ~1 {auto:1,Command:\"execute at @e[tag=CoronavirusP, sort=random] run effect give @e[limit=1,sort=nearest] minecraft:poison 4 0 true\"}"},{id:command_block_minecart,Command:"data merge block ~7 ~ ~ {auto:1,Command:\"execute at @e[type=bat] run tag @e[distance=..3] add CoronavirusP\"}"},{id:command_block_minecart,Command:"data merge block ~6 ~ ~ {auto:1,Command:\"execute at @e unless entity @e[limit=1, sort=nearest, nbt={Inventory:[{id:\\\"minecraft:leather_chestplate\\\",Slot:102b,Count:1b}]}] run tag @e[limit=1, sort=nearest] remove ConEPI\"}"},{id:command_block_minecart,Command:"data merge block ~5 ~ ~ {auto:1,Command:\"execute at @e[nbt={Inventory:[{id:\\\"minecraft:leather_chestplate\\\",Slot:102b,Count:1b}]}] run tag @e[limit=1, sort=nearest] add ConEPI\"}"},{id:command_block_minecart,Command:"data merge block ~4 ~ ~ {auto:1,Command:\"execute at @e[tag=ConEPI] run tag @e[limit=1, sort=nearest] remove CoronavirusP\"}"},{id:command_block_minecart,Command:"data merge block ~3 ~ ~ {auto:1,Command:\"execute at @e[tag=CoronavirusP] run particle minecraft:ambient_entity_effect ~ ~1 ~\"}"},{id:command_block_minecart,Command:"setblock ~ ~ ~1 command_block{Command:\"fill ~ ~-3 ~-1 ~ ~ ~ air\"}"},{id:command_block_minecart,Command:"setblock ~ ~-1 ~1 redstone_block"},{id:command_block_minecart,Command:"kill @e[type=command_block_minecart,distance=..5]"}]}]}]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement