Class VillagerProfessionBuilder

java.lang.Object
net.fabricmc.fabric.api.object.builder.v1.villager.VillagerProfessionBuilder

@Deprecated public final class VillagerProfessionBuilder extends Object
Allows for the creation of new VillagerProfessions.

The texture for the villagers are located at assets/IDENTIFIER_NAMESPACE/textures/entity/villager/profession/IDENTIFIER_PATH.png

A corresponding IDENTIFIER_PATH.mcmeta file exits in the same directory to define properties such as the HatType this profession would use.

Note this does not register any trades to these villagers. To register trades, add a new entry with your profession as the key to TradeOffers.PROFESSION_TO_LEVELED_TRADE.