HomeJavaDatapacksXtabay's Villager Creator / Generator
Xtabay's Villager Creator / Generator
DatapacksJava

Xtabay's Villager Creator / Generator

by ferbook3000 · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.11–26.2 · Data pack⬇ Download for 1.21.4 · Data pack⬇ Download for 1.21.2–1.21.3 · Data pack⬇ Download for 1.21–1.21.1 · Data pack⬇ Download for 1.20.6 · Data pack⬇ Download for 1.21.11–26.2 · Fabric⬇ Download for 1.21.11–26.2 · Forge⬇ Download for 1.21.11–26.2 · NeoForge⬇ Download for 1.21.11–26.2 · Quilt
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Xtabay's Villager Creator / Generator — screenshot 1Xtabay's Villager Creator / Generator — screenshot 2Xtabay's Villager Creator / Generator — screenshot 3Xtabay's Villager Creator / Generator — screenshot 4Xtabay's Villager Creator / Generator — screenshot 5Xtabay's Villager Creator / Generator — screenshot 6Xtabay's Villager Creator / Generator — screenshot 7

This datapack will help you create custom villagers very easily. Meant for server administrators or map creators. Trades are infinite and unblockable.

Get the Villager Creator Kit
/function vg.xtabay:give/villager_creator_kit

USE.

Villager Creator Stick
Put all the items you want your villager to trade in a chest in this order, from left to right: 1st buy item, 2nd buy item, sell item. This means every 3 slots are used for a single trade row, up to a maximum of 9 trades per chest. Every trade must have this structure: [Required Item] [Required Item](optional) [Offered Item], if they don't have this structure, the items will be ignored and the trade won't be added.

Items in Chest to Trades in Villager

Once you're done filling a chest with this structure, right click it with a Villager Creator Stick and the villager will be created.
All villagers created by Villager Creator have 40 heart containers, are leatherworkers and snow villagers by default. They're also riding a block display so they can't move or be moved.

Add Trade Stick
Put a chest next to a villager created with the Villager Creator datapack and repeat the same process as with the Villager Creator Stick but using the Add Trade Stick this time. Once done, all the trades in the chest will be added to the nearest villager and the chest will be deleted.

Villager's Properties Stick
This stick allows you to fully customize your villagers.
These are the values you can modify:

Villager Eraser Stick
Kill any villager created by the Villager Creator datapack by right clicking it.

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more