way2muchnoise / JustEnoughResources

A rewrite of NotEnoughResources using JustEnoughItems
Other
127 stars 65 forks source link

Adding Mod Compatibility #431

Closed LiteWolf101 closed 1 year ago

LiteWolf101 commented 1 year ago

Hello!

How would I go about adding compatibility to my mod so that my mod's loot tables show up on JER?

Thank you!

way2muchnoise commented 1 year ago

Hey, you can use the APIspecifically the MobRegistry to register your own mods mobs.

You mainly need to start from creating a class that implements IJERAPI. Forge needs an annotation, Fabric works with an entry point. From there you can access the MobRegistry to register your mobs.

Hope this helps!