inject other mod's items from vanilla loottables into my own
TelepathicGrunt opened this issue ยท 3 comments
BIG issue right now. Other mods should have to be forced to add compat for me. I need to use GLM on my own loottables and add compot for everyone else. I shouldn't be self-fish. It's not right forcing work on other modders when I am the common denominator lol
I'm having a dilemma now.
So my mod repurposed structures make a bunch of biome variants of vanilla structures. But I chose to have my own loottables for each.
However, many mods are using the LootTableLoad even and GLM to modify vanilla loottables only.
There's two ways that I could go about this.
-
Contact the major mods to ask them to use GLM to add to my loottables directly.
Pros: Less work for me
They switch to the more modern approach
They can tailor the loot to specific biome types of my structures
Cons: Other mods will not update to include new structures I add.
More work for everyone else when I am the odd one out.
I hate this option lol -
Using GLM on my own Loottables, generate the output from the corresponding vanilla loottable, and only inject items that are not in the minecraft namespace to my pools.
Pros: Works with all mods out of the box
Cons: Nether/end versions of structures are trickier as I may pull an overworld only loot into it (crimson village pulling from vanilla village table)
Mods adding vanilla loot to tables or adjusting vanilla item rates won't work -
Make my own loottable roll from vanilla loottable directly + my own loot. But uses GLM on my own loottable to remove vanilla items I dont want to spawn in that structure type/biome. (No Wood in nether outposts chests by using GLM to remove it if the vanilla loottable returned it in my loottable)
Pros: Works with all mods out of the box
Mods can change vnailla item rates or add vanilla loot to them
Cons: More messier code as each structure needs a set of items they dont spawn (tags)
Harder for users to configure as now they need to modify a item blacklist tag for each structure to spawn blacklisted loot.