Hello!
I recently have tried updating my 1.5.2 mod to 1.6.1. For the most part, I didn't have to change much of my code. But on one part of my code, I am absolutely stumped.
This is the area of code that is having troubles:
Minecraft mc = ModLoader.getMinecraftInstance();
mc.installResource("sound3/pikadexores/restore.ogg", new File(mc.mcDataDir, "resources/sound3/pikadexores/restore.ogg"));
mc.installResource("sound3/pikadexores/mt-hit.ogg", new File(mc.mcDataDir, "resources/sound3/pikadexores/mt-hit.ogg"));
}
Specifically, I get the error under "installResource". This worked fine in 1.5.2, so I can only assume that the method for this has been changed in name, possibly in it's... return content.
So, I would like to ask; do I still need this, and, if so, what do I change it to?
Hello!
I recently have tried updating my 1.5.2 mod to 1.6.1. For the most part, I didn't have to change much of my code. But on one part of my code, I am absolutely stumped.
This is the area of code that is having troubles:
Minecraft mc = ModLoader.getMinecraftInstance();
mc.installResource("sound3/pikadexores/restore.ogg", new File(mc.mcDataDir, "resources/sound3/pikadexores/restore.ogg"));
mc.installResource("sound3/pikadexores/mt-hit.ogg", new File(mc.mcDataDir, "resources/sound3/pikadexores/mt-hit.ogg"));
}
Specifically, I get the error under "installResource". This worked fine in 1.5.2, so I can only assume that the method for this has been changed in name, possibly in it's... return content.
So, I would like to ask; do I still need this, and, if so, what do I change it to?
I recently have tried updating my 1.5.2 mod to 1.6.1. For the most part, I didn't have to change much of my code. But on one part of my code, I am absolutely stumped.
This is the area of code that is having troubles:
Specifically, I get the error under "installResource". This worked fine in 1.5.2, so I can only assume that the method for this has been changed in name, possibly in it's... return content.
So, I would like to ask; do I still need this, and, if so, what do I change it to?
http://www.minecraftforum.net/topic/1874298-where-to-put-modding-textures-161/#entry23172097
Twitter: @iPixeliMC