Mob Drops and Economy

Discussion in 'Server & Community Management' started by ItsWilven, Apr 18, 2019.

  1. Hey folks,

    So my server uses a physical economy for our towny server in the form of gold ingots and drops.

    I wish to disable the gold nugget drops form Zombie Pigmen and gold bar drops from Drowned to prevent it from being farmed and inflating the economy.

    I know it can be done via Datapacks in order to keep my server light weight in terms of plugins but I am not sure how to do it. Does anybody know how to write a datapack do disable only some drops of mobs and not all?

    You're help would be amazing.