#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#
#    This function has been created by Skilendarz Group.
#             https://skilendarz.com
#
#      GIVE MAP MAKERS THE CREDIT THEY DESERVE!
#             COPYING IS PROHIBITED!
#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

#Slots
item replace entity @s enderchest.0 with minecraft:brown_dye{display:{Name:'{"text":""}'}}
item replace entity @s enderchest.1 with minecraft:brown_dye{display:{Name:'{"text":""}'}}
item replace entity @s enderchest.2 with minecraft:brown_dye{display:{Name:'{"text":""}'}}
item replace entity @s enderchest.3 with minecraft:brown_dye{display:{Name:'{"text":""}'}}
item replace entity @s enderchest.4 with minecraft:brown_dye{display:{Name:'{"text":""}'}}
item replace entity @s enderchest.5 with minecraft:brown_dye{display:{Name:'{"text":""}'}}
item replace entity @s enderchest.6 with minecraft:brown_dye{display:{Name:'{"text":""}'}}
item replace entity @s enderchest.7 with minecraft:brown_dye{display:{Name:'{"text":""}'}}
item replace entity @s enderchest.8 with minecraft:cyan_dye{display:{Name:'{"text":""}'}}
item replace entity @s enderchest.9 with minecraft:brown_dye{display:{Name:'{"text":""}'}}
item replace entity @s enderchest.17 with minecraft:brown_dye{display:{Name:'{"text":""}'}}
item replace entity @s enderchest.18 with minecraft:brown_dye{display:{Name:'{"text":""}'}}
item replace entity @s enderchest.19 with minecraft:brown_dye{display:{Name:'{"text":""}'}}
item replace entity @s enderchest.20 with minecraft:brown_dye{display:{Name:'{"text":""}'}}
item replace entity @s enderchest.21 with minecraft:brown_dye{display:{Name:'{"text":""}'}}
item replace entity @s enderchest.23 with minecraft:brown_dye{display:{Name:'{"text":""}'}}
item replace entity @s enderchest.24 with minecraft:brown_dye{display:{Name:'{"text":""}'}}
item replace entity @s enderchest.25 with minecraft:brown_dye{display:{Name:'{"text":""}'}}
item replace entity @s enderchest.26 with minecraft:brown_dye{display:{Name:'{"text":""}'}}
item replace entity @s enderchest.11 with minecraft:gray_stained_glass_pane{display:{Name:'{"text":""}'}}
item replace entity @s enderchest.13 with minecraft:gray_stained_glass_pane{display:{Name:'{"text":""}'}}
item replace entity @s enderchest.15 with minecraft:gray_stained_glass_pane{display:{Name:'{"text":""}'}}
item replace entity @s enderchest.10 with minecraft:carrot_on_a_stick{Clear:1,Unbreakable:1,CustomModelData:10,display:{Name:'{"translate":"item.bonegun","color":"green","bold":true,"italic":false}',Lore:['[{"translate":"store.cost","color":"gray","italic":false},{"text":"10","color":"gold","bold":true,"italic":false},{"translate":"game.gold_icon","color":"white"}]','{"text":" "}','{"translate":"desc.bonegun","color":"gray","bold":false,"italic":false}','{"translate":"desc.bonegun.2","color":"gray","bold":false,"italic":false}','{"text":" "}','{"translate":"store.click","color":"yellow","bold":false,"italic":false}']},HideFlags:4}
item replace entity @s enderchest.12 with minecraft:pufferfish_spawn_egg{Clear:1,display:{Name:'{"translate":"item.minisweetgun","color":"green","bold":true,"italic":false}',Lore:['[{"translate":"store.cost","color":"gray","italic":false},{"text":"8","color":"gold","bold":true,"italic":false},{"translate":"game.gold_icon","color":"white"}]','{"text":" "}','{"translate":"desc.minisweetgun","color":"gray","bold":false,"italic":false}','{"translate":"desc.minisweetgun.2","color":"gray","bold":false,"italic":false}','{"text":" "}','{"translate":"store.click","color":"yellow","bold":false,"italic":false}']}}
item replace entity @s enderchest.14 with minecraft:carrot_on_a_stick{Clear:1,Unbreakable:1,CustomModelData:9,display:{Name:'{"translate":"item.returntobase","color":"green","bold":true,"italic":false}',Lore:['[{"translate":"store.cost","color":"gray","italic":false},{"text":"18","color":"gold","bold":true,"italic":false},{"translate":"game.gold_icon","color":"white"}]','{"text":" "}','{"translate":"desc.returntobase","color":"gray","bold":false,"italic":false}','{"translate":"desc.returntobase.2","color":"gray","bold":false,"italic":false}','{"text":" "}','{"translate":"store.click","color":"yellow","bold":false,"italic":false}']},HideFlags:4}
item replace entity @s enderchest.16 with minecraft:milk_bucket{Clear:1,display:{Name:'{"translate":"item.milk","color":"green","bold":true,"italic":false}',Lore:['[{"translate":"store.cost","color":"gray","italic":false},{"text":"10","color":"gold","bold":true,"italic":false},{"translate":"game.gold_icon","color":"white"}]','{"text":" "}','{"translate":"desc.milk","color":"gray","bold":false,"italic":false}','{"translate":"desc.milk.2","color":"gray","bold":false,"italic":false}','{"translate":"desc.milk.3","color":"gray","bold":false,"italic":false}','{"text":" "}','{"translate":"store.click","color":"yellow","bold":false,"italic":false}']}}
item replace entity @s enderchest.22 with minecraft:barrier{Clear:1,display:{Name:'{"translate":"store.close","color":"red","bold":true,"italic":false}'}}

#Clear Items
clear @s minecraft:barrier{Clear:1}
clear @s minecraft:brown_dye
clear @s minecraft:gray_stained_glass_pane
clear @s minecraft:carrot_on_a_stick{Clear:1}
clear @s minecraft:pufferfish_spawn_egg{Clear:1}
clear @s minecraft:milk_bucket{Clear:1}