setblock 999991 177 999973 chain_command_block[facing=up]{auto:1b,Command:"function zzzzdonotuse:stranger/trinkets",TrackOutput:0} destroy
fill 999991 178 999973 999991 200 999973 minecraft:chain_command_block[facing=up] destroy
setblock 999977 207 999978 chain_command_block[facing=down]{auto:1b,Command:"tag @a[tag=K,nbt={Inventory:[{id:\"minecraft:black_banner\",tag:{display:{Lore:[\"\\\"Gives every non-farm-animal mob a small chance to\\\"\",\"\\\"grant an ender pearl.\\\"\",\"\\\"NOTE: PLACING THIS ITEM WILL BREAK IT. THE EFFECT \\\"\",\"\\\"IS GAINED BY HOLDING IT IN YOUR INVENTORY.\\\"\"]}}}]}] add KyuEnd",TrackOutput:0} destroy
setblock 999977 199 999978 chain_command_block[facing=down]{auto:1b,Command:"tag @a[tag=K,nbt={Inventory:[{id:\"minecraft:brown_banner\",tag:{display:{Lore:[\"\\\"Disables the negative effects of random events\\\"\",\"\\\"which effect animals, food, or crops.\\\"\",\"\\\"NOTE: PLACING THIS ITEM WILL BREAK IT. THE EFFECT \\\"\",\"\\\"IS GAINED BY HOLDING IT IN YOUR INVENTORY.\\\"\"]}}}]}] add KyuNat",TrackOutput:0} destroy
setblock 999977 156 999974 chain_command_block[facing=up]{auto:1b,Command:"execute if entity @a[tag=K,nbt={Inventory:[{tag:{kyujunkstash:69b}}]}] run function zzzzdonotuse:trinketeffect/junkstash",TrackOutput:0} destroy
setblock 999981 179 999971 chain_command_block[facing=up]{auto:1b,Command:"execute at @e[name=KyuOffShootOW] if block ~-9 0 ~ #suhc:redblueconcrete run tp @e[name=KyuOffShootOW,limit=1,distance=..1] ~2 ~ ~",TrackOutput:0} destroy
setblock 999981 182 999971 chain_command_block[facing=up]{auto:1b,Command:"execute at @e[name=KyuOffShootOW] if block ~9 0 ~ #suhc:redblueconcrete run tp @e[name=KyuOffShootOW,limit=1,distance=..1] ~-2 ~ ~",TrackOutput:0} destroy
setblock 999981 185 999971 chain_command_block[facing=up]{auto:1b,Command:"execute at @e[name=KyuOffShootOW] if block ~ 0 ~-9 #suhc:redblueconcrete run tp @e[name=KyuOffShootOW,limit=1,distance=..1] ~ ~ ~2",TrackOutput:0} destroy
setblock 999981 188 999971 chain_command_block[facing=up]{auto:1b,Command:"execute at @e[name=KyuOffShootOW] if block ~ 0 ~9 #suhc:redblueconcrete run tp @e[name=KyuOffShootOW,limit=1,distance=..1] ~ ~ ~-2",TrackOutput:0} destroy
setblock 999978 142 999975 chain_command_block[facing=up]{auto:1b,Command:"function zzzzdonotuse:misc/1ystuff",TrackOutput:0} destroy
setblock 999976 126 999981 chain_command_block[facing=up,conditional=true]{auto:1b,Command:"data merge block ~ ~2 ~ {auto:1b}",TrackOutput:0} destroy
setblock 999976 128 999981 command_block[facing=up]{auto:0b,Command:"data merge block ~ ~ ~ {auto:0b}",TrackOutput:0} destroy
setblock 999977 170 999980 chain_command_block[facing=up]{auto:1b,Command:"execute if entity @a[tag=K,nbt={Inventory:[{tag:{kyujunkstash:69b,kyuclock:1b}}]}] run execute as @a[sort=random,limit=1,tag=K,nbt={Inventory:[{tag:{kyujunkstash:69b,kyuclock:1b}}]}] run function zzzzdonotuse:trinketeffect/clock",TrackOutput:0} destroy
setblock 999977 183 999978 chain_command_block[facing=down]{auto:1b,Command:"tag @a[tag=KyuAnkhEffect22] remove KyuPI",TrackOutput:0} destroy
setblock 999977 182 999978 chain_command_block[facing=down]{auto:1b,Command:"tag @a[nbt={Inventory:[{Slot:-106b,tag:{kyuankhshield:1b}}]}] add KyuPI",TrackOutput:0} destroy
scoreboard objectives add KyuDamageTaken minecraft.custom:minecraft.damage_taken
setblock 999978 124 999975 chain_command_block[facing=up]{auto:0b,Command:"function zzzzdonotuse:halfsec/spiderpoison1",TrackOutput:0} destroy
setblock 999976 157 999979 chain_command_block[facing=up]{auto:1b,Command:"execute at @e[scores={DayQ=18}] run data merge block ~-2 ~3 ~-3 {auto:1b,Command:\"function zzzzdonotuse:halfsec/spiderpoison2\"}",TrackOutput:0} destroy
setblock 999976 159 999979 chain_command_block[facing=up]{auto:1b,Command:"execute at @e[scores={DayQ=26}] run data merge block ~-2 ~3 ~-3 {auto:1b,Command:\"function zzzzdonotuse:halfsec/spiderpoison3\"}",TrackOutput:0} destroy
setblock 999976 140 999981 chain_command_block[facing=up,conditional=true]{auto:1b,Command:"execute if entity @e[name=DayQ,tag=!NoNetherC] run data merge block ~ ~1 ~ {auto:1b}",TrackOutput:0} destroy
setblock 999979 178 999975 chain_command_block[facing=up]{auto:1b,Command:"/execute if entity @a[name=trickytricky197,nbt={Inventory:[{Slot:17b,id:\"minecraft:carrot\"}]}] run function zzzzdonotuse:halfsec/boat",TrackOutput:0} destroy
execute if entity @a[name=trickytricky197] run setblock 999971 121 999971 repeating_command_block[facing=up]{auto:0b,Command:"execute if entity @a[name=\"Ziklag_\"] run function zzzzdonotuse:halfsec/boat2",TrackOutput:0} destroy
setblock 999971 122 999971 chain_command_block[facing=up]{auto:1b,Command:"execute unless entity @a[name=\"Ziklag_\"] run data merge block ~ ~-1 ~ {auto:0b}",TrackOutput:0} destroy
setblock 999977 179 999975 chain_command_block[facing=up]{auto:1b,Command:"function zzzzdonotuse:misc/destroysuhctagstuff",TrackOutput:0} destroy
setblock 1000000 167 999983 command_block[facing=up]{auto:0b,Command:"setblock ~ 255 ~ dirt",TrackOutput:0} destroy
setblock 1000000 168 999983 chain_command_block[facing=up]{auto:1b,Command:"summon falling_block ~ ~40 ~ {BlockState:{Name:\"minecraft:command_block\"},TileEntityData:{Command:\"fill 999989 119 999979 999989 240 999979 minecraft:command_block{Command:\\\"fill ~12 ~ ~10 ~-19 ~ ~-9 air\\\",auto:1b} destroy\"},Time:1,Passengers:[{id:\"minecraft:area_effect_cloud\",Health:0f,Passengers:[{id:\"minecraft:falling_block\",BlockState:{Name:\"minecraft:command_block\"},TileEntityData:{Command:\"execute at @e[name=DayQ] run kill @e[distance=..200,type=minecraft:armor_stand]\",auto:1b,CustomName:\"{\\\"text\\\":\\\"\\\"}\"},Time:1,Passengers:[{id:\"minecraft:area_effect_cloud\",Health:0f,Passengers:[{id:\"minecraft:falling_block\",BlockState:{Name:\"minecraft:command_block\"},TileEntityData:{Command:\"tag @a remove K\",auto:1b,CustomName:\"{\\\"text\\\":\\\"\\\"}\"},Time:1,Passengers:[{id:\"minecraft:area_effect_cloud\",Health:0f,Passengers:[{id:\"minecraft:falling_block\",BlockState:{Name:\"minecraft:command_block\"},TileEntityData:{Command:\"tag @a remove JoinedKyu\",auto:1b,CustomName:\"{\\\"text\\\":\\\"\\\"}\"},Time:1,Passengers:[{id:\"minecraft:area_effect_cloud\",Health:0f,Passengers:[{id:\"minecraft:falling_block\",BlockState:{Name:\"minecraft:command_block\"},TileEntityData:{Command:\"tag @a remove ClearInvKyu\",auto:1b},Time:1,Passengers:[{id:\"minecraft:area_effect_cloud\",Health:0f,Passengers:[{id:\"minecraft:falling_block\",BlockState:{Name:\"minecraft:command_block\"},TileEntityData:{Command:\"tag @a remove Griefer\",auto:1b},Time:1,Passengers:[{id:\"minecraft:area_effect_cloud\",Health:0f,Passengers:[{id:\"minecraft:falling_block\",BlockState:{Name:\"minecraft:command_block\"},TileEntityData:{Command:\"tag @a remove BookUpdate\",auto:1b},Time:1,Passengers:[{id:\"minecraft:area_effect_cloud\",Health:0f,Passengers:[{id:\"minecraft:falling_block\",BlockState:{Name:\"minecraft:command_block\"},TileEntityData:{Command:\"tag @a remove SpellUpdate\",auto:1b},Time:10,Passengers:[{id:\"minecraft:area_effect_cloud\",Health:0f,Passengers:[{id:\"minecraft:falling_block\",BlockState:{Name:\"minecraft:command_block\"},TileEntityData:{Command:\"tag @a remove NoChestKyu\",auto:1b},Time:1,Passengers:[{id:\"minecraft:area_effect_cloud\",Health:0f,Passengers:[{id:\"minecraft:falling_block\",BlockState:{Name:\"minecraft:command_block\"},TileEntityData:{Command:\"tag @a remove StopText\",auto:1b},Time:1,Passengers:[{id:\"minecraft:area_effect_cloud\",Health:0f,Passengers:[{id:\"minecraft:falling_block\",BlockState:{Name:\"minecraft:command_block\"},TileEntityData:{Command:\"tag @a remove BookInHand\",auto:1b},Time:1,Passengers:[{id:\"minecraft:area_effect_cloud\",Health:0f,Passengers:[{id:\"minecraft:falling_block\",BlockState:{Name:\"minecraft:command_block\"},TileEntityData:{Command:\"tag @a remove PlayerAddKyu\",auto:1b},Time:1,Passengers:[{id:\"minecraft:area_effect_cloud\",Health:0f,Passengers:[{id:\"minecraft:falling_block\",BlockState:{Name:\"minecraft:command_block\"},TileEntityData:{Command:\"tag @a remove InvSaved\",auto:1b},Time:1,Passengers:[{id:\"minecraft:area_effect_cloud\",Health:0f,Passengers:[{id:\"minecraft:falling_block\",BlockState:{Name:\"minecraft:command_block\"},TileEntityData:{Command:\"execute at @e[name=DayQ] run kill @e[distance=..200,type=minecraft:armor_stand]\",auto:1b,CustomName:\"{\\\"text\\\":\\\"\\\"}\"},Time:1,Passengers:[{id:\"minecraft:area_effect_cloud\",Health:0f,Passengers:[{id:\"minecraft:falling_block\",BlockState:{Name:\"minecraft:command_block\"},TileEntityData:{Command:\"fill 999989 119 999979 999989 240 999979 minecraft:command_block{Command:\\\"fill ~12 ~ ~10 ~-19 ~ ~-9 air\\\",auto:1b} destroy\\\",auto:1b,CustomName:\\\"{\\\"text\\\":\\\"\\\"}\"},Time:1,Passengers:[{id:\"minecraft:area_effect_cloud\",Health:0f,Passengers:[{id:\"minecraft:falling_block\",BlockState:{Name:\"minecraft:command_block\"},TileEntityData:{Command:\"fill ~ ~ ~ ~ ~-18 ~ aisr replace command_block\",auto:1b},Time:1,Passengers:[{}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}",TrackOutput:0} destroy
data merge block 999982 124 999984 {auto:0b}
data merge block 999982 125 999983 {auto:0b}
setblock 999977 213 999978 chain_command_block[facing=up]{auto:1b,Command:"/clear @a[tag=K,scores={KyuMushy=1..2}] minecraft:written_book{Enchantments:[{id:\"minecraft:unbreaking\",lvl:10}]}",TrackOutput:0} destroy
setblock 999977 214 999978 chain_command_block[facing=up,conditional=true]{auto:1b,Command:"function zzzzdonotuse:trinketeffect/mushy/mushyhouse",TrackOutput:0} destroy
fill 999977 215 999978 999977 218 999978 minecraft:chain_command_block[facing=up] destroy
setblock 999977 227 999978 command_block[facing=up]{auto:0b,Command:"function zzzzdonotuse:trinketeffect/mushy/mushyhousedelete",TrackOutput:0} destroy
setblock 999991 225 999973 chain_command_block[facing=up]{auto:1b,Command:"execute at @e[tag=KyuPortMush,tag=!MushyNoChest] run fill ~1 ~5 ~1 ~1 ~5 ~1 minecraft:ender_chest[facing=north]",TrackOutput:0} destroy
setblock 999991 224 999973 chain_command_block[facing=up]{auto:1b,Command:"function zzzzdonotuse:trinketeffect/mushy/mushyhousechest",TrackOutput:0} destroy
setblock 999977 225 999978 chain_command_block[facing=up]{auto:1b,Command:"execute at @e[tag=NoScoreSetMush] if block ~-1 ~5 ~1 minecraft:chest{Items:[{id:\"minecraft:written_book\",Count:1b,tag:{display:{Lore:[\"\\\"A fake mushy book! Will be replaced with \\\"\",\"\\\"the real one once the mushy house disappears.\\\"\"]}}}]} run tag @e[limit=1,distance=..1,tag=NoScoreSetMush] add MushNoDelete",TrackOutput:0} destroy
setblock 999984 130 999981 command_block[facing=up]{auto:0b,Command:"execute at @e[limit=1,name=SpawnerSheep,sort=nearest] run summon spawner_minecart ~2 ~1.5 ~ {NoGravity:1,id: spawner_minecart,OnGround: 0,MaxNearbyEntities:100,Type: 0,Items: [],Delay: 1,MinSpawnDelay: 1,MaxSpawndelay: 1,SpawnCount: 1,SpawnRange:0,RequiredPlayerRange: 1032767,SpawnData:{id:\"minecraft:item\",Item:{id:air,Count:1}},SpawnPotentials: [{Entity:{id:\"item\",Item:{id:gold_ingot,Damage:0,Count:1}},Weight:100},{Entity:{id:\"item\",Item:{id:gold_block,Damage:0,Count:1}},Weight:20},{Entity:{id:\"item\",Item:{id:gold_ingot,Damage:0,Count:3}},Weight:110},{Entity:{id:\"item\",Item:{id:iron_block,Damage:0,Count:1}},Weight:110},{Entity:{id:\"item\",Item:{id:diamond,Damage:0,Count:2}},Weight:30},{Entity:{id:\"item\",Item:{id:diamond_block,Damage:0,Count:1}},Weight:5},{ Entity:{id:\"item\",Item:{id:golden_apple,Damage:0,Count:1}},Weight:40},{Entity:{id:\"item\",Item:{id:enchanted_golden_apple,Damage:0,Count:1}},Weight:2},{Entity:{id:\"item\",Item:{id:tnt,Damage:0,Count:5}},Weight:70},{Entity:{id:\"item\",Item:{id:golden_sword,Damage:0,Count:1,tag:{Unbreakable:1,Enchantments:[{id:\"minecraft:sharpness\",lvl:9},{id:\"minecraft:smite\",lvl:6},{id:\"minecraft:bane_of_arthropods\",lvl:6},{id:\"minecraft:looting\",lvl:4},{id:\"minecraft:fire_aspect\",lvl:5}]}}},Weight:1},{Entity:{id:\"item\",Item:{id:glass,Damage:0,Count:1,tag:{display:{Lore:[\"\\\"healpud\\\"\"]}}}},Weight:30},{ Entity:{id:\"item\",Item:{id:sand,Damage:0,Count:1,tag:{display:{Lore:[\"\\\"abspud\\\"\"]}}}},Weight:54},{ Entity:{id:\"item\",Item:{id:torch,Damage:0,Count:1,tag:{display:{Lore:[\"\\\"strpud\\\"\"]}}}},Weight:90},{Entity:{id:\"item\",Item:{id:saddle,Damage:0,Count:1}},Weight:40},{ Entity:{id:\"item\",Item:{id:brewing_stand,Damage:0,Count:1}},Weight:30},{Entity:{id:\"item\",Item:{id:totem_of_undying,Damage:0,Count:1}},Weight:2},{ Entity:{id:\"item\",Item:{id:ghast_tear,Damage:0,Count:1}},Weight:20},{Entity:{id:\"item\",Item:{id:ender_pearl,Damage:0,Count:3}},Weight:50},{ Entity:{id:\"item\",Item:{id:elytra,Damage:0,Count:1}},Weight:5},{ Entity:{id:\"item\",Item:{id:potion,Damage:0,Count:1,tag:{custom_potion_effects:[{id:"minecraft:fire_resistance",amplifier:0,duration:12000,show_particles:0b}]}}},Weight:60},{Entity:{id:\"item\",Item:{id:golden_carrot,Damage:0,Count:1}},Weight:30},{Entity:{id:\"item\",Item:{id:golden_carrot,Damage:0,Count:5}},Weight:30},{ Entity:{id:\"item\",Item:{id:emerald,Damage:0,Count:2}},Weight:30},{Entity:{id:\"item\",Item:{id:experience_bottle,Damage:0,Count:6}},Weight:30},{Entity:{id:\"item\",Item:{id:experience_bottle,Damage:0,Count:64}},Weight:10}]}",TrackOutput:0} destroy
data merge block 999975 167 999985 {auto:0b}
data merge block 999976 142 999979 {auto:0b}
#/fill 999989 119 999979 999989 240 999979 minecraft:command_block{Command:"fill ~12 ~ ~10 ~-19 ~ ~-9 air",auto:1b} replace
#data merge block 999976 142 999979 {auto:0b}
#
tag @e[name=KyuPatch,type=armor_stand] add PatchOnePointTwoPointOne
tellraw @a ["",{"text":"Patch 1.2.1 has been installed!","color":"gold"},{"text":"","color":"red"}]
execute as @e[tag=CurrentPatch] run data merge entity @s[tag=CurrentPatch] {CustomName:"\"Patch 1.2.1\"",Tags:["CurrentPatch"],NoGravity:1,Invisible:1b,Silent:1b,Invulnerable:1}