Data Packs Game Mechanic

OVERHAULED Default Villagers!

  • 474 views 2 today
  • save_alt 51 downloads
Compatibility
Minecraft 26.1
Changes include
    • 5
    • 5
    • 2
    Testificate_2011
    Lvl 14Journeyman Explorer
    5
    ############################################################
    ### WHAT CHANGES ARE MADE BY THIS DATAPACK? QUICKLY NOW! ###
    ############################################################
    - All Villager default trades have been overhauled. No RNG for offerings, consistent costs, reinstated omitted trades, etc. It's extensive (and well documented!)
    - Librarians can be TAUGHT max level enchantments! (Just bring them the book!)
    - Librarians no long sell enchantments BEFORE being taught them! (Go out and explore the world to find them!)
    - Upon reaching 'Master' level - villager trades are ORGANIZED! (No more trades for emeralds sprinkled in, or similar)
    - Multi-Enchanted Books can be separated into individual enchantments. (Just requires books and a grindstone.)
    - Suspicious Stews have been made MEMORABLE. (Their effects last significantly longer, so full helath, near empty health, full saturation, no saturation are all possible!) - Except for Mooshrooms, those are still hard coded.



    FULL DETAILS CAN BE FOUND in the 'readme.txt' as well as the support 'documentation' folder.



    THANK YOU TO:




    ##################
    # INFERNALDEVICE #
    ##################
    Seriously, this pack wouldn't have been possible without their extensive informative support. Their youtube videos and accompanying datapacks have made projects like this possible. Without them, it would still be stuck in one of the many "Ask 4 Help" forums. Please, check out InfernalDevice's work at their youtube channel: www.youtube.com/@InfernalDevice I'm more than willing to wager, you'll learn something not just new, but useful to your datapack ambitions!

    #############
    # GALSERGEY #
    #############
    The other giant, whose brain has been picked through the years of reddit posts/comments/responses is GalSergy. You can find their irreplaceable information on reddit: www.reddit.com/user/GalSergey/


    ##############################
    ## HOW TO USE THIS DATAPACK ##
    ##############################
    ## Data Driven Trades:##
    - These changes require no special action from users to experience! Trades, offered by Villagers in the unmodified gameplay experience, have been reworked to: standardize material costs/trade limits/exchange quantities, remove random trade selections/enchantments/dyes, add omitted trades, etc. Full details on all changes from the unmodifed trades are documented in the file `Default Trade Change Log`.
    !⯀!NOTE: Librarian trades offering random and all enchanted books is currently disabled. Steps for re-enabling can be found later in the mentioned document.!⯀!

    ## Organized Master Villager trades: ##
    - Simply interacting with master level Villagers, in any profession, will rearrange all offered trades so they appear in a more uniform and useful order. Generally, all 'purchase <asset> for Emerald' trades are offered first, 'equipment' seconds, 'items' third, and 'blocks' last. Colored/Stained trades are listed in repeating rainbow order. Full details on all changes from the initial random selection are documented in the file 'Organized Master Villager Trades Order'.

    ## Teach Master level Librarians max level enchantments: ##
    - Bring the maximum level enchantment you want, to a 'MASTER' level 'LIBRARIAN' to sell. 'RIGHT CLICK' on this 'LIBRARIAN'.
    !NOTE: The Librarian trade GUI must be exited before the learned trade will appear!

    !⯀!NOTE: ONLY ONE ENCHANTMENT CAN BE LEARNED AT A TIME. IF THERE ARE MULTIPLE ENCHANTMENTS ON A SINGLE ENCHANTED BOOK, ONLY THE MAXIMUM LEVEL ENCHANTMENT WITH THE EARLIEST APPEARANCE IN AN ALPHABETICAL ORDERED LIST WILL BE LEARNED. ALL OTHER ENCHANTMENTS WILL BE DELETED.CURSES ARE AFTER THE ENTIRE ALPHABET!⯀!

    ## Separate multi-enchanted books into individual enchanted books: ##
    -Separate multiple enchantments from a single enchanted book by holding the 'MULTI-ENCHANTED BOOK' in the 'OFFHAND', enough 'BOOKS' in the 'MAIN HAND', and then 'RIGHT CLICK' on a 'GRIND STONE'.
    -(If there is only 1 enchantment, or not enough books in the main hand, an error message will indicate such.)

    !⯀!NOTE: After the enchantments separate, the grindstone GUI will still be open and the multi-enchanted book will still be in the off hand. Rest assured, this is just a visual artifact. Even 'swapping hands' won't bring that book back into reality!⯀!

    ## Suspicious Stews Made Memorable ##
    - These changes require no special action from users to experience! All Suspicious stews found in the world, crafted by the user, or purchased from a Famer Villager have had their durations increased for a memorable experience; Resulting effects restore more, harm more, and impede for longer.

    !⯀!NOTE:Eventual death is possible (Wither).!⯀!NOTE:

    !⯀!NOTE: As of version 26.1, it's not possible to alter the resulting effect durations from Suspicious Stews acquired from milking a Brown Mooshroom. These stews offer the default duration of effects upon consumption.!⯀!

    ###########################################################################################################################################

    ############################
    ## HOW THIS DATAPCK WORKS ##
    ############################
    This datapack is made up of 5 main systems:
    - Data Driven Trades
    - Organized Master Villager Trades
    - Teaching Enchantments
    - Separating Multi-Enchanted Books
    - Suspicious Stews Made Memorable

    ###########################################################################################################################################

    ##########################
    ### DATA DRIVEN TRADES ###
    ##########################
    This feature, simply removes all random trade offerings from each profession at each level. If the profession only offered 1 of 16 options, all 16 are always offered.

    ********************************
    *Want to learn more of the why?*
    Introduced in version 26.1 Snapshot 1,'Data Driven Trades' enabled the modifications of the default trades offered by all professions at each level. Prior to this ability, the inability to modify the default trades has been the single missing linchpin preventing this system from becoming a reality. In the default game, Librarians offer 1 of 113 possible enchantment trades (1 for each possible level). On average, a player will have to place/break/replace/check the trades of a Librarian over 2,000 times to obtain a trade for each enchantment at the maximum level. This includes progressing their profession to reveal all enchanted book trades. Having done this two times already in 2026, as well as having done the previous methods with Testificates when introduced in 2011 (The initial method took a 24 hours a day, for 7 days to 'breed' enough villagers who chose 'Librarian' as their occupation, AND offered the enchantment desired. 600+ villager deaths was the average during that time.), I will attest...it's not fun. Now you know, in part, the motivation of this datapack!

    ###########################################################################################################################################

    ########################################
    ### Organized Master Villager Trades ###
    ########################################
    After the Villager reaches Master level in their profession, this system simply changes the order of avilable trades to not be random. Instead they're listed in a predetermined system with, generally, trades for Emeralds 1st, Equipment 2nd, Items 3rd, and Blocks 4th.

    ###########################################################################################################################################

    #############################
    ### TEACHING ENCHANTMENTS ###
    #############################
    This system enables Master level Librarians, to learn & sell maximum level enchantments, such as Sharpness V, Unbreaking III, etc. But not enchantments such as Lure II and Fire Aspect I, as those are not the maximum possible level for them.

    !⯀!NOTE: This system doesn't run, until the 'Organized Master Villager Trades' system operates on the targeted master Librarian. This is done to prevent taught trades from being deleted.!⯀!

    ###########################################################################################################################################

    ########################################
    ### SEPARATING MULTI-ENCHANTED BOOKS ###
    ########################################
    This system enables any 'Enchanted Book', with multiple enchantments, to have each individual enchantment extracted to it's own book. This only happens when:
    - The player has the multi-enchanted book in their off hand.
    - The Player has enough empty books in their main hand. (1 fewer than the total enchantments, as the multi-enchanted book, is counted as...a book.)
    - With the previous two condition met, the player 'right clicks' on a grind stone. Then the system operates.

    ###########################################################################################################################################

    #######################################
    ### SUSPICIOUS STEWS MADE MEMORABLE ###
    #######################################

    This system is just a change to the loot tables and recipe results for Suspicious Stews to last strategically longer. These changes match the Farmer villager trades for the same. Full details on the file names, and locations is detailed in 'Suspicious Stew Change Log'.

    ###########################################################################################################################################

    *Phew!*

    ####################
    Thank you again to all who made this 2011 dream a reality. With this complete system, the tedious grind is no more. Now, there's an exciting incentive to go fishing, use an enchanting table, and explore the world - excited for the contents of every treasure chest! (Jungle Pyramids, Strongholds, Dungeons, Mineshafts, Ancient Cities, Desert Pyramids, Pillager Outposts, Ocean Ruins, Trial Chambers, Bastion Remnants, and Woodland Mansions!) And no more need to infinitely expand the world file size seeking out the 20th Trial Chamber or Ancient City so everyone can get 'Wind Charge III' and 'Swift Sneak III'!

    #######################################################################################################################

    More like this

      Have something to say?

    Shark_cool
    04/01/2026 12:33 am
    Level 43 : Master Sailor
    This is what Villager Rebalance should be.
    2
    Testificate_2011
    04/01/2026 4:33 am
    Level 14 : Journeyman Explorer
    history
    Thanks for the compliment! I made it with that exact idea in mind. Always wanted it to be how it is, and now it is! (Thank you Mojang for Data Driven villager trades!)
    1

    Welcome