Posted June 3, 201510 yr If i add an inventory.png into the resources area of my mod, can i use it instead of this? If so how? private static ResourceLocation inventoryResourceLocation = new ResourceLocation("textures/gui/container/inventory.png"); This way i could give the player an option of using the ones from their texture pack, or the default ones.
June 3, 201510 yr ResourceLocation points at location. You and/or anyonne else can put there anything they want. If they replace it - it will be replaced. "minecraft:" + location points at minecraft pack, "modid:" + location would point at some mod's assets. What is your question, because i don't see a problem. :c 1.7.10 is no longer supported by forge, you are on your own.
June 3, 201510 yr Author A user of my mod was having an issue with the icons of potions, their resource pack did not have all the icons. So i wanted to use the default icons. So i've changed the code to be. private static ResourceLocation inventoryResourceLocation = new ResourceLocation("minecraft:textures/gui/container/inventory.png");
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.