Villager Profession Builder
public final class VillagerProfessionBuilder
Content copied to clipboard
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 PROFESSION_TO_LEVELED_TRADE.
Functions
create
Link copied to clipboard
harvestableItems
Link copied to clipboard
id
Link copied to clipboard
secondaryJobSites
Link copied to clipboard
workSound
Link copied to clipboard
VillagerProfessionBuilder workSound(@Nullable() SoundEvent workSoundEvent)
Content copied to clipboard
workstation
Link copied to clipboard
Sources
jvm source
Link copied to clipboard