# Golem Ability
execute as @e[tag=golem] at @s if block ~ ~-1 ~ packed_ice run effect give @s speed 1 1
execute as @e[tag=golem] at @s if block ~ ~-1 ~ packed_ice run particle minecraft:end_rod ~-0.2 ~ ~-0.2 1 .4 1 0 2 force
# Clear Items
clear @a enchanting_table
clear @a beacon
clear @a anvil
clear @a shield
clear @a piston
clear @a sticky_piston
# Glowing
effect give @a[nbt={Inventory:[{id:"minecraft:blue_wool"}]}] minecraft:glowing 2 0 true
# Effects when in Adventure Mode
effect give @a[gamemode=adventure] resistance 1 4 true
effect give @a[gamemode=adventure] saturation 1 4 true
# Wither Water Red
execute as @a[x=-16,y=46,z=-38,dx=20,dy=-10,dz=-20] at @s run execute if block ~ ~ ~ water run effect give @s wither 1 2
execute as @a[x=-16,y=46,z=-38,dx=20,dy=-20,dz=-20] at @s if block ~ ~ ~ seagrass run effect give @s wither 1 2
execute as @a[x=-16,y=46,z=-38,dx=20,dy=-20,dz=-20] at @s if block ~ ~ ~ tall_seagrass run effect give @s wither 1 2
execute as @a[x=-1,y=83,z=-354,dx=-28,dy=-10,dz=-20] at @s run execute if block ~ ~ ~ water run effect give @s wither 1 2
execute as @a[x=-1,y=83,z=-354,dx=-28,dy=-10,dz=-20] at @s if block ~ ~ ~ seagrass run effect give @s wither 1 2
execute as @a[x=-1,y=83,z=-354,dx=-28,dy=-10,dz=-20] at @s if block ~ ~ ~ tall_seagrass run effect give @s wither 1 2
# Wither Water Blue
execute as @a[x=20,y=46,z=-38,dx=20,dy=-10,dz=-20] at @s run execute if block ~ ~ ~ water run effect give @s wither 1 2
execute as @a[x=20,y=46,z=-38,dx=20,dy=-20,dz=-20] at @s if block ~ ~ ~ seagrass run effect give @s wither 1 2
execute as @a[x=20,y=46,z=-38,dx=20,dy=-20,dz=-20] at @s if block ~ ~ ~ tall_seagrass run effect give @s wither 1 2
execute as @a[x=35,y=83,z=-354,dx=-28,dy=-10,dz=-20] at @s run execute if block ~ ~ ~ water run effect give @s wither 1 2
execute as @a[x=35,y=83,z=-354,dx=-28,dy=-10,dz=-20] at @s if block ~ ~ ~ seagrass run effect give @s wither 1 2
execute as @a[x=35,y=83,z=-354,dx=-28,dy=-10,dz=-20] at @s if block ~ ~ ~ tall_seagrass run effect give @s wither 1 2
# Cartographer Advancements
scoreboard players add @a[tag=!joined1] joined 1
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run advancement grant @s[tag=!joined1] only cartographer_custom_enchantments:adrenaline
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run advancement grant @s[tag=!joined1] only cartographer_custom_enchantments:auto_charge
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run advancement grant @s[tag=!joined1] only cartographer_custom_enchantments:frostbite
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run advancement grant @s[tag=!joined1] only cartographer_custom_enchantments:point_blank
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run advancement grant @s[tag=!joined1] only cartographer_custom_enchantments:hunter
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run advancement grant @s[tag=!joined1] only cartographer_custom_enchantments:sapper
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run advancement grant @s[tag=!joined1] only cartographer_custom_enchantments:energetic
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run advancement grant @s[tag=!joined1] only cartographer_custom_enchantments:frenzy
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run advancement grant @s[tag=!joined1] only cartographer_custom_enchantments:repeater
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run advancement grant @s[tag=!joined1] only cartographer_custom_enchantments:satiation
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run advancement grant @s[tag=!joined1] only cartographer_custom_enchantments:stunning
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run advancement grant @s[tag=!joined1] only cartographer_custom_enchantments:shattering
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run advancement grant @s[tag=!joined1] only cartographer_custom_enchantments:surging_strike
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run advancement grant @s[tag=!joined1] only cartographer_custom_enchantments:lifesteal
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run advancement grant @s[tag=!joined1] only cartographer_custom_enchantments:regeneration
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run advancement grant @s[tag=!joined1] only cartographer_custom_enchantments:overload
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run advancement grant @s[tag=!joined1] only cartographer_custom_enchantments:evasion
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run advancement grant @s[tag=!joined1] only cartographer_custom_enchantments:vicious
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run advancement grant @s[tag=!joined1] only cartographer_custom_enchantments:malevolence
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run advancement grant @s[tag=!joined1] only cartographer_custom_enchantments:frost
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run advancement grant @s[tag=!joined1] only cartographer_custom_statuses:bleed
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run advancement grant @s[tag=!joined1] only cartographer_custom_statuses:shock
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run advancement grant @s[tag=!joined1] only cartographer_custom_statuses:stunned
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run tellraw @a[tag=!joined1] {"text":"Check Advancements for Info on Cartographer Enchantments/Statuses","color":"gold","bold":true,"italic":false}
execute as @a at @s if score @p[tag=!joined1] joined matches 40.. run tag @a[tag=!joined1] add joined1
# Kill people in the void lane.
effect give @a[x=18,y=0,z=-14,dx=-17,dy=256,dz=-580] wither 100 100
# Witch Nerf
execute as @e[type=witch] at @s positioned ~ ~1.6 ~ run execute as @e[type=potion,nbt={Potion:{tag:{Potion:"minecraft:poison"}}},distance=...2] run data modify entity @s Potion.tag.Potion set value "minecraft:harming"
# Kill Withers
kill @e[type=wither]