Started by
woodcraft
on
Topic category: Help with Minecraft modding (Java Edition)
I'm making a class mod and I want each class to have their own passives, would it be more optimized to run each class on tick individually or though another one?
Example 1:
MageClass: on tick
BruiserClass: on tick
Example 2:
ClassClass on tick
If class = 1
call MageClass
else If class = 2
call BruiserClass
What would be better?
Performance wise it'd probably be about the same, but organization wise 1. is clearly superior