Custom Villager Professions (Forge)

Custom Villager Professions (Forge)

755k Downloads

This mod is designed to give you the ability to add your own villager professions. Intended for modpack authors.

By default, no professions are added. You will need to follow the instructions below to create them.


How does it work?

This mod reads from a specific directory to create user-defined professions. You will need to also create your own texture.

Upon loading, this mod will read all the files you've created and register the new profession, along with the required POI block.


Features

Register your own profession.

Register the POI block required for the villager to work at.

Custom textures for the villager.


 Warnings

This mod does not add any trades, in order to do that please use my other mod, Custom Villager Trades - Mods - Minecraft - CurseForge.

If your villager has no name, or texture, double check your resource pack is enabled.


How to configure

Configuring this mod is very straightforward.

1. Create a JSON file in "config/custom professions". It can be named whatever you please.

        - This JSON file will hold the data required to make the profession. It must contain 2 fields:

                - "professionName": This is the name of your profession.

                - "blockPOIkey": This is the registry key of the block that the villager will work at. Example: "minecraft:emerald_block"

        - Example Profession - Pastebin.com

2. Create a resource pack to store the villager texture and 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\"

        - The lang file naming is as follows: "entity.minecraft.villager.spacecatcustomprofessions.test": "Test"

                - the word 'test' must be replaced with the "professionName" you used in the config. The field value is the display name.

Don't forget to enable the resource pack in the game options.


This mod is designed as a companion for my other mod, Custom Villager Trades - Mods - Minecraft - CurseForge.

Please feel free to join my discord server if you need any support!

https://discord.gg/R4yaRqr2gN