minecraft-datapacks/datapacks/enchantment merger/data/ench_merger/functions/merger/check_combine.mcfunction

6 lines
438 B
Mcfunction
Raw Normal View History

# Desc: If there are valid items around, calls the function that creates the Merger
# Called by: ench_merger:merger/check_combine_start
# Datapack made by FieryHammer
execute if entity @e[type=item, distance=..0.75, nbt={Item:{id:"minecraft:enchanting_table", Count:1b}}, tag=!fh_dropped] if entity @e[type=item, distance=..0.75, nbt={Item:{id:"minecraft:anvil", Count:1b}}, tag=!fh_dropped] run function ench_merger:merger/combine