wendall911 / TCIntegrations

A Minecraft 1.18+ mod designed to provide modpack integrations with other mods for Tinkers' Construct
MIT License
2 stars 3 forks source link

Malum Soul Stained Steel tools crashing game on equip #33

Closed ianm1647 closed 12 months ago

ianm1647 commented 1 year ago

I am playing on a modpack and decided to add in your mod as the modpack uses multiple mods that your mod supports, and coming across the Soul Stained Steel tools , the game crashes every time I equip one in my hand. It looks like it has something to do with the Soul Stained modifier in particular. (Crash report)

I have yet to test with the armor, but this is causing multiple problems like being unable to get into a world after having equipped this tool. If this could be fixed asap please, I know you may not have much time on your hands, and if thats the case take your time.

Also another request regarding Malum support, I have no idea if you have integrated the spirit harvesting aspect of Malum into the Soul Stained modifier, if not could you possibly add a separate modifier to apply this ability to tools. If you need a reference, you could look at the Crude Scythe in Malum or look at my mod, specifically this class file. You may be able to implement it better than I have, plus this was also for 1.16, so things could have changed.

Thank you for your time , hopefully you can come out with a fix sooner than later!

moon-st0ne commented 1 year ago

confirming this still has not been fixed

wendall911 commented 1 year ago

Not yet, I'll get a fix out soon and post here.

wendall911 commented 1 year ago

Quick update on this. Malum still has not released a latest fix. I'll do a release once it is out. Maybe in the next few days? I hope so.

SammySemicolon commented 12 months ago

I just discovered that this mod has malum compat, absolutely loving it. Looking at it, doesn't look like the crash happens as of Malum version 1.5

As for making Soul Stained tcon tools spawn spirits on kill, you'd simply need to make them set the MalumLivingEntityDataCapability.getCapability(target).soulData.exposedSoulData variable to some number (malum does 200) when an enemy is struck

wendall911 commented 12 months ago

@SammySemicolon Thanks for the help with this. I added tooltips when pressing Shift. Everything works well in my testing. Looking forward to playing with the updated version.