One can prevent specific items from dropping upon mob death with
How can one prevent specific items from dropping when breaking a block?
It's a little hacky but one can remove all drops from a block, including xp, by doing something like this
In my case, however, I do not want to remove the dropped xp, only the dropped items. How can I achieve this?
Code:
remove ghast tears from drops
How can one prevent specific items from dropping when breaking a block?
It's a little hacky but one can remove all drops from a block, including xp, by doing something like this
Code:
on mine of emerald ore:
cancel event
set event-block to air
In my case, however, I do not want to remove the dropped xp, only the dropped items. How can I achieve this?