Posted July 3, 201213 yr Most my mods use the same texture sheet of terrain1.png in the hotrods20 folder. Is it possible to check if a texture file was already loaded before using the preloadTexture method? http://www.slothygaming.com/img/ota.png[/img] If your grammar is shit and you blatantly don't know what you're doing, I will not help you.
July 3, 201213 yr You can preload several times the same texture without problems. If you really want to check all the textures being loaded you can add a ITextureLoadHandler to your mod class.
July 3, 201213 yr Author Thank you. I just really don't want my mods to lag stuff down by loading the same texture over and over again. http://www.slothygaming.com/img/ota.png[/img] If your grammar is shit and you blatantly don't know what you're doing, I will not help you.
July 3, 201213 yr Thank you. I just really don't want my mods to lag stuff down by loading the same texture over and over again. Well, forge checks if the texture was already loaded, so there shouldn't be any lag problems.
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.