I am trying to make it so the item u get from the auto compressor stacks with the item from the villager that trades it. It has the exact same enchantments , flags , name and everything but it wont stack. Does Anyone Know How To Fix it?
Code:
if player's inventory contains a dispenser named "&7Nether Auto Compressor":
if event-block is netherrack:
if player's inventory contains 64 of plain netherrack:
remove 64 of plain netherrack from player's inventory
give player 1 of unbreakable netherrack of mending named "&4Compressed Netherrack" with hidden enchants flag```