Posted February 15, 20178 yr Hi, I have some performance issues with my custom IBakedModel probably because it's pretty complex (it has many quads). I don't want to simplify the model so that it has less quads, because there has been put a lot of effort in. I've thought of something, but I don't know if this could work and how I could do this: The custom IBakedModel is a ripening rack. I made 24 new models to place in the ripening rack, the models I use for this depends on what items are inside of the ripening rack. But the point is, the "base" of the ripening rack doesn't ever change when placed (Only has a rotation depending on the facing). - Precompute: Could I somehow "precompute" this model, so that I don't need to return a list of BakedQuads for the base model everytime and that it's still rendered? So that I only need to return a list of bakedQuads for every model that renders depending on what items are inside? Or how does it work with normal blocks like dirt? Screenshots of ripening rack: Spoiler This is the base ripening rack: This is the ripening rack with models that depend on what items are inside: If you got other ideas of letting the model render faster, please let me know. Thanks for helping out! Edited February 15, 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 15, 20178 yr Could you show the code for the IBakedModel, and when do these performance issues happen? 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.
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.