You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem I have with adding the ingots to the chests cannot be solved with this method, as the Aether Legacy dungeon chests do not currently use the LootTables system, but rather have their loot generation hardcoded.
The Aether Legacy devs have plans to migrate to the LootTables system, however, and once they do my job will be simple.
But as it stands right now, it is simply not possible to use this method to add loot to the chests.
(If you did however intend to link to the line you did link to, I would really rather not fire an event every single time a chest is opened, figure out how to check if said chest is a silver dungeon chest, figure out if it's being opened for the first time, then add loot to it. That's... a bit silly.)
https://github.com/Alex-the-666/Ice_and_Fire/blob/1.12.2/src/main/java/com/github/alexthe666/iceandfire/event/EventLiving.java#L520
I saw that you had issues adding your own Valerkye metal to the default Aether chests. This code should help provide a solution to your problem.
The text was updated successfully, but these errors were encountered: