Look into caching itemstacks, to reduce the amount of forgerotools created
SigmundGranaas opened this issue ยท 0 comments
ForgeroTools have to be generated from NBT every time the game need to do any form of calculation/ retrieve information. The Itemstack does not change, and a new stack is created whenever the tool is altered. If I create a cache I can reuse tools instead of creating new ones all of the time. I have no idea if this actually will improve performance. Therefore I should find a way to perform performance analysis before I do this.