Traveler's Backpack

Traveler's Backpack

26M Downloads

Travelers Backpack uses more CPU time than any other mod

gittibene opened this issue ยท 10 comments

commented

This is on Fabric 1.19.2, Travelers Backpack slows down the game significantly, using between 6 and 18% CPU time, making it the most demanding mod in our modpack. Why?

https://spark.lucko.me/wX1INtnvTY

commented

I just checked simple hats, they use special models sure, but they are made via json files. Traveler's Backpack creates backpack model from code, that affects cpu usage

commented

Other mods that render "special models" like simple hats or even different backpack mods are nowhere near this kind of CPU utilization. So kinda sounds like an excuse to me tbh. Really like your mod but i guess i'm gonna go with something else for now. Thanks for taking the time, though...

commented

Interesting, is there a reason you use code instead of model files?

commented

Well, I just don't know how to exactly transfer json model to game and be able to manipulate with specific parts in real time, like I can with code model. I mean let's say dissapearing sleeping bag when deployed

commented

where is it visible, i'm not familiar with this site

commented

There's a "mods" button at the top where you can see every mod and it's sub processes and how much CPU time is spent on each one.

commented

still dont see it, only see 9% render thread show me screenshot

commented

well, that's because backpacks has to be rendered with special model, you can reduce this by removing unnecessary backpacks

commented

image

commented

I see, if you should find a way to trigger JSON animations or something like that i'd be happy to help with models/animations. Don't have any experience modding minecraft but i do know 3D modeling and animation so if you ever consider going down that path hit me up!