A Partial Mod of Jabs Fixed Minecraft that includes the enchanting changes
Base:
- Items have an “enchant capacity” based on what item it is (roughly 54% of how many enchants the item has in total i.e. boots>chest plate) capped at 50 levels (mainly for swords/boots/books)
- Different enchantments have an “xp cost” which increases parabolically based on its level, max level,. Cost of max level enchant is 7+(max level) so efficiency 1-5 is 1,2,5,8,12, infinity is 8
Enchanting table:
- Starts by giving 1 low level enchant, Adding bookshelves makes that enchant chance to be higher level (up to 15)
- For every bookshelf, it will check a random position within the etable searching range (the 32 blocks it checks for normal bookshelves), if it is a chiseled bookshelf, checks random slot, if enchanted book, gets all the “valid” enchants on it (can apply to item, not already applied/current level is lower than ebook, not silk-fort incompatible) and chooses one at random to copy onto the item.
- “Enchanting” particles coming out of cshelves with ebooks in them have colour
- In-game display to show what book you are looking at in a chiseled bookshelf and the enchants on it without needing to take it out
- Required xp levels is the total cost of all the enchants on the item
- Lapis/level cost is required levels divided by 10 rounded up
- Circle icon on each button shows if item will be under half (small)/over half (large) or over capacity (purple) rather than numbers 1,2,3
- Rather than a single ‘hint’ enchant when hovering over the button, it will preview out output item for each button with all enchants it will provide.
- Example - Diamond pickaxe, 10 bookshelves, 5 chiseled bookshelves. The etable gives unbreaking 2, 7/10 shelf searches find either a normal bookshelf or air and fail, other 3 find a cshelf. 1 finds an empty slot so fails, 1 finds a book with sharpness, so fails, the other finds a book with looting 2 and efficiency 4 so applies the efficiency 4 onto the item. Efficiency 5 + Fortune 3 = 12+10 = 22, so you need 22 levels on you to unlock the button. 22/10 is 2.2 rounded up is 3, so you need 3 lapis and it will use up 3 of your levels. Pickaxe capacity is 26, 22/26 is over half so will show a large ball as the icon.
- Gold items have half the XP cost, and when enchanted via table, where possible, each enchant gains a level (even becoming super enchants), and has unlimited capacity. (pickaxes can break the same as iron).
- Books can still be enchanted in the etable, but rather than receiving an enchanted book, you received an “enchanted” book, where the level received is halved, they do not work in c-shelves, and their level can not be increased in the anvil
- How to build an enchanting setup shown in the stronghold libraries with some example ebooks
Anvil:
- Can not combine enchants from different tools (can still use non enchanted tools in 2nd slot to repair first)
- Xp cost is sum total of all enchants on final output regardless of input items (1 if <= 0), no more anvil usage cost
- Repairing in the anvil is 4x as effective (100% repair with just 1 item) and only costs half the levels
- Displays how much of the capacity is used up on the output item via a bar, notches every 5 levels
- Cant deal with items over the xp capacity (bar shows red)
- “Cost” text at the bottom will change depending on enchanting/repairing/renaming, and if there is something wrong it will say why you can’t do that particular action.
- Can repair by right clicking with an iron block
- Netherite gear only requires scrap to repair (can also turn ingots back into scrap), tridents can be repaired with prismarine shards, bow/cross bow/fishing rod with string.
Netherite anvil:
- Crafted with anvil, netherite block and upgrade template in smithing table
- Can deal with items that are over capacity
- If output is overenchanted, output can not have mending (Gamerule)
- Any action that could be done in the normal anvil will not damage netherite anvil.
- Can repair by right clicking with an netherite ingot
Villagers:
- Using the villager experimental trades as a base
- Enchanted books are only on the 2nd (low level biome), 4th (random) and 5th (mid-high level biome) sections (no more lectern rerolling, also only sells 3 books per restock)
- Enchanted books will show which biome that villager will sell more of them
- Master librarians will check other nearby master librarians final book trade to reduce chance of duplicate
- Desert - Fire Prot, Impaling, Thorns, Efficiency, Infinity, Wind Burst
- Jungle - Feather Fall, Sweeping, Power, Unbreaking, Channelling
- Plains - Impact Prot, Smite, Punch, Fire Aspect, Multishot, Lunge
- Savanna - Knockback, Sharpness, Depth Strider, Binding Curse, Loyalty
- Snow - Aqua Affinity, Quick Charge, Frost Walker, Looting, Silk Touch, Breach
- Swamp - Proj Prot, Piercing, Respiration, Vanishing Curse, Mending
- Taiga - Blast Prot, Bane of Invertebrates, Riptide, Fortune, Flame, Density
- Other - Fisherman sell Luck of the Sea, Lure
Other:
- Loot has a chance to have an enchant that is over the normal limit (super enchants, has green glint) like fortune 4. Loot includes from chests, mobs and fishing
- Most mutual restrictions gone (apart from some like silk-fortune)
- Aqua Affinity moved to chestplate
- Curses have negative XP cost
- Bottle O’ Enchanting can be crafted via sculk blocks, and sculk blocks always drop xp
- XP dropped on death equates to half the levels you had on you
- Hostile mobs spawned under the night sky will drop more XP on death
- Taking enchants off an item via grindstone costs ¼ durability (to limit endless enchanting attempts) but xp return has been increased (⅕ total xp on item)
- Alternative protections don’t adhere to the 80% cap, but normal protection no longer gives points to them
- Blast protection no longer reduces blast knockback to allow using tnt as a form of transport
- Chainmail armour gives +1 protection enchant per piece
- Gold gear autorepairs over the course of an in game day while in the players inventory or on an armour stand
- End cities/igloos/swamp huts now contain enchanted books
- Building off the villager experiments where some enchants can be found more commonly in particular structures, every enchanted book found as loot is 50% random and 50% structure
- Includes a builtin version of the “Re-covered Enchanted Books” resource pack