execute at @e[distance=..15,tag=WindmillWheat] run execute unless entity @a[distance=..20,gamemode=creative] run data merge block ~ ~ ~ {auto:1b}

summon villager ~-4 ~ ~13 {NoAI:0,Xp:555,CustomName:'{"text":"Millager","color":"#FFD800"}',VillagerData:{level:5,profession:"minecraft:leatherworker",type:"minecraft:taiga"},Offers:{Recipes:[{buy:{id:"minecraft:wheat",Count:16b},sell:{id:"minecraft:emerald",Count:1b}},{buy:{id:"minecraft:hay_block",Count:32b},buyB:{id:"minecraft:iron_axe",Count:1b},sell:{id:"minecraft:bread",Count:1b,tag:{KyuBreadBladeUpgrade:1b,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"generic.attack_damage",Amount:10,Operation:0,UUID:[I;6969,6969,6969,1220],Slot:"mainhand"},{AttributeName:"generic.attack_speed",Name:"generic.attack_speed",Amount:-0.825,Operation:1,UUID:[I;6969,6969,6969,1219],Slot:"mainhand"}],Enchantments:[{id:"minecraft:protection",lvl:1s}],HideFlags:3,display:{Name:"{\"text\":\"Rye-ron BreadBlade\",\"color\":\"#B5B7BF\"}",Lore:['[{"text":"Magical bread, infused with iron. Upgradeable via the wheat-stone.","color":"#BC9249"},{"text":"","color":"#BC9249"}]','[{"text":"","color":"#BC9249"}]','[{"text":"","color":"#BC9249"},{"text":"When in Main Hand:","color":"#CCCCCC","italic":false}]','[{"text":" +1 Bready for Battle","color":"#14A82D","italic":false}]','[{"text":"","color":"#BC9249"},{"text":" 10 Attack Damage","color":"#14A82D","italic":false}]','[{"text":"","color":"#BC9249"},{"text":" 0.7 Attack Speed","color":"#14A82D","italic":false}]']}}}},{buy:{id:"minecraft:hay_block",Count:32b},buyB:{id:"minecraft:diamond_axe",Count:1b},sell:{id:"minecraft:bread",Count:1b,tag:{KyuBreadBladeUpgrade:1b,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"generic.attack_damage",Amount:10,Operation:0,UUID:[I;6969,6969,6969,1220],Slot:"mainhand"},{AttributeName:"generic.attack_speed",Name:"generic.attack_speed",Amount:-.8,Operation:1,UUID:[I;6969,6969,6969,1219],Slot:"mainhand"}],Enchantments:[{id:"minecraft:protection",lvl:1s}],HideFlags:3,display:{Name:"{\"text\":\"Doughmand BreadBlade\",\"color\":\"#44F2FF\"}",Lore:['[{"text":"Magical bread, infused with diamond. Upgradeable via the wheat-stone.","color":"#BC9249"},{"text":"","color":"#BC9249"}]','[{"text":"","color":"#BC9249"}]','[{"text":"","color":"#BC9249"},{"text":"When in Main Hand:","color":"#CCCCCC","italic":false}]','[{"text":" +1 Bready for Battle","color":"#14A82D","italic":false}]','[{"text":"","color":"#BC9249"},{"text":" 10 Attack Damage","color":"#14A82D","italic":false}]','[{"text":"","color":"#BC9249"},{"text":" 0.8 Attack Speed","color":"#14A82D","italic":false}]']}}}},{buy:{id:"minecraft:hay_block",Count:32b},buyB:{id:"minecraft:netherite_axe",Count:1b},sell:{id:"minecraft:bread",Count:1b,tag:{KyuBreadBladeUpgrade:1b,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"generic.attack_damage",Amount:11,Operation:0,UUID:[I;6969,6969,6969,1220],Slot:"mainhand"},{AttributeName:"generic.attack_speed",Name:"generic.attack_speed",Amount:-0.7875,Operation:1,UUID:[I;6969,6969,6969,1219],Slot:"mainhand"}],Enchantments:[{id:"minecraft:protection",lvl:1s}],HideFlags:3,display:{Name:"{\"text\":\"Breaderite BreadBlade\",\"color\":\"#7F0000\"}",Lore:['[{"text":"Magical bread, infused with netherite. Upgradeable via the wheat-stone.","color":"#BC9249"},{"text":"","color":"#BC9249"}]','[{"text":"","color":"#BC9249"}]','[{"text":"","color":"#BC9249"},{"text":"When in Main Hand:","color":"#CCCCCC","italic":false}]','[{"text":" +1 Bready for Battle","color":"#14A82D","italic":false}]','[{"text":"","color":"#BC9249"},{"text":" 11 Attack Damage","color":"#14A82D","italic":false}]','[{"text":"","color":"#BC9249"},{"text":" 0.85 Attack Speed","color":"#14A82D","italic":false}]']}}}},]}}



#summon villager ~ ~ ~ {NoAI:0,Xp:555,CustomName:'{"text":"Millager","color":"#FFD800"}',VillagerData:{level:5,profession:"minecraft:leatherworker",type:"minecraft:taiga"},Offers:{Recipes:[
#{buy:{id:"minecraft:wheat",Count:16b},sell:{id:"minecraft:emerald",Count:1b}},
#{buy:{id:"minecraft:hay_block",Count:32b},buyB:{id:"minecraft:iron_axe",Count:1b},sell:{id:"minecraft:bread",Count:1b,tag:{KyuBreadBladeUpgrade:1b,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"generic.attack_damage",Amount:10,Operation:0,UUID:[I;6969,6969,6969,1220],Slot:"mainhand"},{AttributeName:"generic.attack_speed",Name:"generic.attack_speed",Amount:-0.825,Operation:1,UUID:[I;6969,6969,6969,1219],Slot:"mainhand"}],Enchantments:[{id:"minecraft:protection",lvl:1s}],HideFlags:3,display:{Name:"{\"text\":\"Rye-ron BreadBlade\",\"color\":\"#B5B7BF\"}",Lore:['[{"text":"Magical bread, infused with iron. Upgradeable via the wheat-stone.","color":"#BC9249"},{"text":"","color":"#BC9249"}]','[{"text":"","color":"#BC9249"}]','[{"text":"","color":"#BC9249"},{"text":"When in Main Hand:","color":"#CCCCCC","italic":false}]','[{"text":"","color":"#BC9249"},{"text":" 10 Attack Damage","color":"#14A82D","italic":false}]','[{"text":"","color":"#BC9249"},{"text":" 0.7 Attack Speed","color":"#14A82D","italic":false}]']}}}},
#{buy:{id:"minecraft:hay_block",Count:32b},buyB:{id:"minecraft:diamond_axe",Count:1b},sell:{id:"minecraft:bread",Count:1b,tag:{KyuBreadBladeUpgrade:1b,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"generic.attack_damage",Amount:10,Operation:0,UUID:[I;6969,6969,6969,1220],Slot:"mainhand"},{AttributeName:"generic.attack_speed",Name:"generic.attack_speed",Amount:-.8,Operation:1,UUID:[I;6969,6969,6969,1219],Slot:"mainhand"}],Enchantments:[{id:"minecraft:protection",lvl:1s}],HideFlags:3,display:{Name:"{\"text\":\"Doughmand BreadBlade\",\"color\":\"#44F2FF\"}",Lore:['[{"text":"Magical bread, infused with diamond. Upgradeable via the wheat-stone.","color":"#BC9249"},{"text":"","color":"#BC9249"}]','[{"text":"","color":"#BC9249"}]','[{"text":"","color":"#BC9249"},{"text":"When in Main Hand:","color":"#CCCCCC","italic":false}]','[{"text":"","color":"#BC9249"},{"text":" 10 Attack Damage","color":"#14A82D","italic":false}]','[{"text":"","color":"#BC9249"},{"text":" 0.8 Attack Speed","color":"#14A82D","italic":false}]']}}}},
#{buy:{id:"minecraft:hay_block",Count:32b},buyB:{id:"minecraft:netherite_axe",Count:1b},sell:{id:"minecraft:bread",Count:1b,tag:{KyuBreadBladeUpgrade:1b,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"generic.attack_damage",Amount:11,Operation:0,UUID:[I;6969,6969,6969,1220],Slot:"mainhand"},{AttributeName:"generic.attack_speed",Name:"generic.attack_speed",Amount:-0.7875,Operation:1,UUID:[I;6969,6969,6969,1219],Slot:"mainhand"}],Enchantments:[{id:"minecraft:protection",lvl:1s}],HideFlags:3,display:{Name:"{\"text\":\"Breaderite BreadBlade\",\"color\":\"#7F0000\"}",Lore:['[{"text":"Magical bread, infused with netherite. Upgradeable via the wheat-stone.","color":"#BC9249"},{"text":"","color":"#BC9249"}]','[{"text":"","color":"#BC9249"}]','[{"text":"","color":"#BC9249"},{"text":"When in Main Hand:","color":"#CCCCCC","italic":false}]','[{"text":"","color":"#BC9249"},{"text":" 11 Attack Damage","color":"#14A82D","italic":false}]','[{"text":"","color":"#BC9249"},{"text":" 0.85 Attack Speed","color":"#14A82D","italic":false}]']}}}},
#
#]}}


fill ~ ~-1 ~ ~ ~ ~ air