Posted February 14, 20178 yr Hi, I found out that the method getQuads is called 7 times when I place or remove a block with the custom IBakedModel. So I created a simple temporary counter to see if it would work if I only returned the full list of quads once (out of 7). The rest of the time I returned an empty list. This made the game run faster. So why does it call 7 times? And could I fix this so that the method is only called once. Thanks. Code: RipeningRackBakedModel: https://hastebin.com/ovokanamaf.java RipeningRackModel: https://hastebin.com/abovequlig.java ModelHandler: https://hastebin.com/uleguwoyib.java Creator of the Master Chef Mod and many more to come. If I helped you, please click the 'thank you' button.
February 14, 20178 yr Author Now I see. Thanks! Creator of the Master Chef Mod and many more to come. If I helped you, please click the 'thank you' button.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.