Jump to content

villager texture outside the mod file


NemockZans

Recommended Posts

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.

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.