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

execute as @p at @s run playsound minecraft:entity.villager.no master @s ~ ~ ~
give @p minecraft:pufferfish_spawn_egg{CanPlaceOn:["polished_deepslate","polished_deepslate_stairs","cobbled_deepslate_stairs","deepslate_tiles","cobbled_deepslate","deepslate","cobblestone_slab","spruce_stairs","oak_log","podzol","oak_planks","stone_bricks","cracked_stone_bricks","diorite","purpur_pillar","hay_block","stone","stone_brick_slab","cobblestone","dirt","coarse_dirt","infested_cobblestone","oak_slab","mycelium","iron_trapdoor","spruce_slab","polished_andesite","spruce_planks","gravel","cobblestone_stairs","andesite","stone_slab","smooth_stone_slab","stone_brick_stairs","oak_stairs","grass_block","spruce_leaves","oak_leaves","dark_oak_leaves"],display:{Name:"{\"translate\":\"item.minisweetgun\",\"color\":\"green\",\"bold\":true,\"italic\":false}"},EntityTag:{NoAI:1,Silent:1,CustomName:""},HideFlags:16}
tp @s ~ ~-300 ~
kill @s