VolmitSoftware / Iris

World Generation through a new Iris
https://volmit.com
GNU General Public License v3.0
445 stars 166 forks source link

[Question] Iris loot generation event #993

Closed fnrcum closed 1 year ago

fnrcum commented 1 year ago

Does Iris fire any events when generating loot in chests based on the defined loot tables?

To be more precise, Vanilla fires a LootGenerate Event when this happens which can be intercepted to do certain things. If I would want to inject something from my plugin into that loot table that's about to be added to a chest, can I do that?

Also if there are such events, are they separated by custom structure like Vanilla?

NextdoorPsycho commented 1 year ago

no, but if you have a plugin you can add it to the item system we have that adds support for custom items and you can add it to preexisting or make your own loot tables in the pack's discretion