-
Notifications
You must be signed in to change notification settings - Fork 6
Adding Professions
crazysnailboy edited this page Mar 15, 2017
·
9 revisions
To create a profession, you need a profession object which includes a name, and two texture paths - one for the villager texture and one for the zombie texture.
You also need to provide an array of one or more career names.
This example creates a villager with the name "vtt:tinkerer" and adds a single career named "tinkerer":
{
profession: {
name: "vtt:tinkerer",
texture: "vtt:textures/entity/villager/tinkerer.png",
zombieTexture: "vtt:textures/entity/zombie_villager/zombie_tinkerer.png"
},
careers: [
"tinkerer"
]
}
If you're not using textures that are bundled with the mod or are part of vanilla Minecraft, you'll need to add those using a custom resource pack. You'll also want to use the resource pack to set a localised name for the new career(s) you're adding, which will be displayed in the trading GUI.
See Adding Careers and Resource Packs for more information.