21 lines
802 B
Mcfunction
21 lines
802 B
Mcfunction
# Desc: Merges the two bows
|
|
# Called by: ench_merger:merge/check_bow
|
|
# Datapack made by FieryHammer
|
|
|
|
# Summon new basic item
|
|
execute at @e[tag=fh_merger_active, sort=nearest] run summon minecraft:item ~ ~2 ~ {Item:{id:"minecraft:bow", Count: 1b}, Tags:["new_item"], PickupDelay:60, NoGravity:1b}
|
|
|
|
execute at @e[tag=fh_merger_active, sort=nearest] run function ench_merger:merge/setup
|
|
|
|
# Run enchantments check for item
|
|
function ench_merger:recipes/power
|
|
function ench_merger:recipes/punch
|
|
function ench_merger:recipes/flame
|
|
function ench_merger:recipes/infinity
|
|
function ench_merger:recipes/unbreaking
|
|
function ench_merger:recipes/mending
|
|
function ench_merger:recipes/vanishing_curse
|
|
|
|
# Finish
|
|
execute at @e[tag=fh_merger_active, sort=nearest] run function ench_merger:merge/finish
|