Silent Gear

Silent Gear

30M Downloads

Trait feature request

Tenchu98 opened this issue ยท 1 comments

commented

Feature request:

I would like to request the ability to designate custom drops for traits., even if they aren't in the loottable for the item/mob they are used on.

commented

I started working on this yesterday. Not finished yet, still debugging my code. But this is what I have so far:

  • The trait takes up to 3 parameters: a loot table which controls the items dropped (required), a block tag (optional), and an entity type tag (optional)
  • If the player mines a block that matches the block tag or kills a mob that has the entity type tag, loot from the loot table is dropped

So the loot table you specify has full control over the drops. You can specify a block tag and/or entity tag to match. Does all that sound acceptable?

Just need to solve an infinite recursion issue to get this ready to release lol.