Custom Villager Professions - SpaceCat97/SpaceCats-Wikis GitHub Wiki

Links

This mod:
Curseforge - Forge version
Curseforge - Fabric version

Required Mods:
Architectury

Discord: Click here.


Change Log

Click here for the change log.


Notes

  • This mod does not add any trades, in order to do that please use my other mod, Custom Villager Trades
  • If your villager has no name, or texture, double check your resource pack is enabled.
  • If you have any errors, check out the latest.log - it will tell you what's wrong. I will ask you to check this if you ask me for support, so save yourself a step!

Need further help? Check out the examples provided, then reach out to me on discord.


Feature List

  • Register your own profession using simple JSON
  • Register the POI block required for the villager to work at using any available vanilla or modded block
  • Resource pack support

JSON Specification

Field Name Data Type Required Description Default Value
professionName String The non-localised name of the profession. This must be all lowercase with no capitals
blockPOIkey Strong This is the registry key of the block you'd like to use as the workstation. Example: "minecraft:emerald_block"

Resource Pack Creation

CVP relies on the use of resource packs, without them the villagers would be untextured and incorrectly named. These resource packs work the same as any other resource pack.

When creating your resource pack you must provide the texture for the villager, and the display name.

  • The texture must be the same format as the vanilla villager texture.
  • The texture must be stored in: "\assets\spacecatcustomprofessions\textures\entity\villager\profession\professionName"
  • The lang file naming is as follows: "entity.minecraft.villager.spacecatcustomprofessions.professionName": "Profession Name"

You can find an example resource pack below.

Don't forget to enable your resource pack in your game options - If you are a modpack developer, there are other mods that you can use to create default resource packs that will always apply.


Examples

All available examples

  • JSON Config - link
  • Florist Config - link
  • Florist Resource Pack - link

⚠️ **GitHub.com Fallback** ⚠️