Jump to content

I am trying to code a modded villager but it is not getting a job.


ShadowStrikesMC
 Share

Recommended Posts

  • 4 weeks later...

It looks like you're using a version of Forge for 1.19.0. If this is the case then you need to also change VILLAGER_PROFESSIONS to PROFESSIONS. Otherwise, upgrade your Forge version to a newer version. Anything for version 1.19.2 will work for the villager code you're using here.

Not sure about the rest of your stuff since I haven't worked with code for crops and the like yet, but I'm sure if any of that breaks you can find what you need by cracking open the external libraries.

Edit: also make sure your acquirable_job_site.json file is spelled correctly because if it isn't, the villager won't take the job and the game will not kick out an error either.

Edited by Warren Tode
Just remembered something else to check.
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
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.

 Share



×
×
  • Create New...

Important Information

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