VillEdit - Create your own custom villagers
This Datapack was inspired by CommandGeek: https://youtu.be/MmDHKOZLkBc
Description
VillEdit is a Datapack which allows you to create and edit your own custom villagers. You can edit the trades, profession, biome, level and even the name with a fancy menu in no time. At the end, you will get a spawn egg to spawn your custom villager anywhere in the world.
How to use
Spawning the editor
Place down a chest, and then use a villager spawn egg on top of it (sneak and right click the top). This will spawn a Villager Editor. Right click the barrel to open the menu.
Using the editor
To use the editor, simply open the barrel and click the buttons. Each button will explain what it does when you hover over it. There are 5 appearance options:
- Cycle Profession
- Cycle Biome
- Cycle Level
- Toggle Static (NoAI)
- Toggle Glow
- Toggle Silent
- Change Custom Name
Adding a trade
To add a trade, click the green "Add Trade" button. This opens a new menu where you can create the trades by putting items in the UI. You need at least one input item, and an output item, for it to work. You can also toggle whether you want the trade to reward any XP to the player.
Removing trades
To remove trades, you can click the redstone to remove the last trade you added. You can also click on the redstone block twice to reset and remove all the trades.
Saving and exiting
Once you’re done, open the editor and press Save. This will give you the spawn egg to spawn your custom villager. You can use it wherever and whenever you want, but make sure to keep the egg safe. The spawn egg will work even if the datapack is uninstalled. The spawn egg will display the villager's data in the lore of the item (hover over it in the inventory)
To remove the editor, just break it.
How to Install VillEdit (Datapack)
VillEdit by Silabear is verified for Datapack, Fabric, Forge, Neoforge, Quilt across Minecraft versions 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2 (latest release: 2.9M, file size: 124 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2) and platform (Datapack, Fabric, Forge, Neoforge, Quilt).
- Make sure you have the compatible loader or environment installed for Datapack, Fabric, Forge, Neoforge, Quilt.
- Move the downloaded VillEdit file into your Minecraft
.minecraft/saves/<world>/datapacksfolder and launch the game.
All Versions
+ Add Version- Updated to 1.21.11. This version of the pack should work on all versions 1.25+
- QOL: Added a tip when creating a custom name that suggests you use the Datapack Hub NBT Text Editor
- QOL: On the Add Trade screen, shift+clicking items in your inventory now put them in the correct slots.
- Updated to 1.21.11. This version of the pack should work on all versions 1.25+
- QOL: Added a tip when creating a custom name that suggests you use the Datapack Hub NBT Text Editor
- QOL: On the Add Trade screen, shift+clicking items in your inventory now put them in the correct slots.
- Updated to 1.21.5. Note that this version won't work in earlier minecraft versions!
- QOL: Items in the "Add Trade" UI which serve no purpose other than to make the UI look nice no longer have a tooltip
- QOL: When you spawn a villager from a spawn egg, it will look at the player.
- Fixed a bug which made villagers able to be killed by survival players
- Updated to 1.21.5. Note that this version won't work in earlier minecraft versions!
- QOL: Items in the "Add Trade" UI which serve no purpose other than to make the UI look nice no longer have a tooltip
- QOL: When you spawn a villager from a spawn egg, it will look at the player.
- Fixed a bug which made villagers able to be killed by survival players
- Fixed UI not working when changing page
- Fixed UI not working when changing page, again
- Fixed other things
- Fixed UI not working when changing page
- Fixed UI not working when changing page, again
- Fixed other things
- Fixed NBT data not being included in trades (again!)
- Fixed NBT data not being included in trades (again!)
- Added togglable trade option
Reward XP. If toggled off, then no xp will be rewarded when a player trades. - Added togglable villager option
SilentIf toggled off, the villager will make noises - Added togglable villager option
Glow. If toggled on, the villager will glow (glow is visible through walls) - Fixed some bugs
- Added togglable trade option
Reward XP. If toggled off, then no xp will be rewarded when a player trades. - Added togglable villager option
SilentIf toggled off, the villager will make noises - Added togglable villager option
Glow. If toggled on, the villager will glow (glow is visible through walls) - Fixed some bugs
- Fixed item counts not being counted as a result of the 2.3 fixes
- Fixed item counts not being counted as a result of the 2.3 fixes
- Update to 1.21+. The datapack no longer works on older versions.
- Fixed some bugs
- Update to 1.21+. The datapack no longer works on older versions.
- Fixed some bugs