Posted February 10, 20178 yr Hi, I was wondering what the "long rand" parameter does in getQuads(). Also, I got the custom model working. I can render two models inside the block. The only thing is: I'm getting a huge performance hit (when it's rendering the game is around 8 fps, and when it isn't rendering the game is around 45 fps). Is this normal, And can this problem be solved when I'll use the guava's cache? Or am I probably doing something wrong? Thanks. Creator of the Master Chef Mod and many more to come. If I helped you, please click the 'thank you' button.
February 10, 20178 yr Author Okay, here it goes. ModelHandler.java: https://hastebin.com/acilesujaq.java RipeningRackModel.java: https://hastebin.com/emahuqibeq.java RipeningRackBakedModel.java: https://hastebin.com/obeviyacot.java Creator of the Master Chef Mod and many more to come. If I helped you, please click the 'thank you' button.
February 10, 20178 yr Author I did the recalculations so that I could see changes directly when in debug client. I changed the code to this: https://hastebin.com/lifudijeba.java. It's working faster now, but I'm still getting quite a performance hit. At the moment I'm testing with fixed models in the quads. Edited February 12, 20178 yr by Kander16 Creator of the Master Chef Mod and many more to come. If I helped you, please click the 'thank you' button.
February 10, 20178 yr Author Hmmmm, indeed. I had another block placed, and that could have been the cause. When creating a new world and placing as many ripening racks as many as I can, it works just fine. I'll try to figure out why the other block makes it so slow. Thanks! Edited February 10, 20178 yr by Kander16 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.