Posted June 19, 201312 yr Is it possible to register a texture file for a new villager outside of the mods 'modname.zip/jar' file? so far i am using : VillagerRegistry.instance().registerVillagerType( id, tPath); but the path option "../texturename.png" does not work. Is it somehow posible to get the textur from outside the mod package? Thx for reading, greats, Nemock Zans.
June 19, 201312 yr Why do you want to do that? BEWARE OF GOD --- Co-author of Pentachoron Labs' SBFP Tech.
June 19, 201312 yr Author why is it allways this question? I want to do that because i am working on a mod where you can add new kinds of viallagers by '*.cfg' and so i want to have a folder in the config folder where the user can add his texture for the villager he adds with the mod.
June 20, 201312 yr maybe try "texturename.png" without the slash, or just make it read inside the mod folder with "/mods/modid/textures/texturename.png" http://mag.racked.eu/cimage/i6000/Achievement++get%21/Newb+Modder%21/mca.png[/img]
June 20, 201312 yr Author but i dont want to read inside the mod folder. i want the textures more easy accessable for the user
June 20, 201312 yr but i dont want to read inside the mod folder. i want the textures more easy accessable for the user I don't know, but a good place to look would be Configuration. Keep in mind, though, that if you don't put the texture in the jar, it'll be harder to package the mod. (and it won't be compatible with launchers) BEWARE OF GOD --- Co-author of Pentachoron Labs' SBFP Tech.
June 20, 201312 yr Author the idea is that there will be no textures providet by me. it is intendet for the player to do that. that's why i want it outside the mod file, to keep the mod seperated from the stuff the user adds. the final thing is intendet to be a do it your selve villager kit
June 22, 201312 yr Author I don't know, but a good place to look would be Configuration. Keep in mind, though, that if you don't put the texture in the jar, it'll be harder to package the mod. (and it won't be compatible with launchers) Configurations was of no help. Does anyone have an other idea?
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.