Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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.

  • 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.

 

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.

  • 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

  • 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.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.