Posted February 11, 20178 yr Hi, I've made a custom IBakedModel, and for testing purposes I've placed around 30 of these blocks with the custom IBakedModel in 1 chunk. Whenever I place / remove any block in the chunk or just change something inside the chunk, the game freezes for around a second and then continues with 60fps. I think this is because getQuads is called many times at once (for each block). When around 10 blocks with custom IBakedModel are placed, I still don't have a lot of problems. But when I go above that, whenever I place or remove any block in that chunk, the game freezes for a while. The more blocks with custom IBakedModel there are placed, the longer the game freezes when adding or removing blocks. Anyone that can help me with this? Code: RipeningRackModel: https://hastebin.com/jubohegora.java RipeningRackBakedModel: https://hastebin.com/emaqolizuj.java ModelHandler: https://hastebin.com/vedikamiku.java 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 12, 20178 yr Author Anyone there? Creator of the Master Chef Mod and many more to come. If I helped you, please click the 'thank you' button.
February 12, 20178 yr Author By the way, the model is made out of many parts. So the list of bakedQuads should be pretty big. But this can't be the problem, right? Creator of the Master Chef Mod and many more to come. If I helped you, please click the 'thank you' button.
February 12, 20178 yr Could you post a image of the baked model in the world? VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
February 12, 20178 yr Author Yes I can. Model: 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.