While in inventory, rapid Files.exists() calls drops FPS to 3.
InvMove.onInputUpdate() calls allowMovementInScreen() calls InvMoveForgeClient$1.modidFromClass(), and from there it seems like an uncached resource/class lookup. Maybe wrap modidFromClass into a cache?
I marked the affected method: https://spark.lucko.me/xIkj5lSwQ7?hl=65
While in inventory, rapid
Files.exists()calls drops FPS to 3.InvMove.onInputUpdate()callsallowMovementInScreen()callsInvMoveForgeClient$1.modidFromClass(), and from there it seems like an uncached resource/class lookup. Maybe wrapmodidFromClassinto a cache?I marked the affected method: https://spark.lucko.me/xIkj5lSwQ7?hl=65