fill 0 1 0 0 2 0 air
setblock -1 1 0 anvil
setblock 1 1 0 grindstone[face=floor]
setblock 0 1 -1 crafting_table
playsound minecraft:entity.wandering_trader.reappeared master @a 0 1 0 10000 0.5
playsound minecraft:block.respawn_anchor.charge master @a 0 1 0 10000 1
bossbar set minecraft:daytime name [{"bold":true,"color":"dark_red","text":"<<< "},{"color":"#FFBF0F","italic":false,"obfuscated":false,"text":" W"},{"color":"#FFD106","italic":false,"obfuscated":false,"text":"A"},{"color":"#FFDE06","italic":false,"obfuscated":false,"text":"V"},{"color":"#FFE016","italic":false,"obfuscated":false,"text":"E "},{"score": {"name": "world", "objective": "WaveCounter"},"color": "#ffe017"},{"text": " >>>","color":"dark_red"}]
summon villager 0 1 0 {Invulnerable:1b,Glowing:1b,Tags:["black_market"],VillagerData:{level:99,profession:"minecraft:librarian"},DeathTime:20s}
title @a title [{"bold":true,"color":"black","text":"♠ "},{"bold":true,"color":"dark_purple","text":"WAVE "},{"bold":true,"color":"dark_purple","score":{"name":"world","objective":"WaveCounter"}},{"bold":true,"color":"black","text":" ♠"}]
title @a subtitle [{"text": "Trade points for contraband and relics!","color": "#c465bd"}]
function kiwi2:waves/black_market_waves/black_market_roll