▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/AnvilPlus
AnvilPlus

AnvilPlus

A plugin that rebalance anvil and add new feature to anvil.

7
0

Require ProtocolLib

Features:

All features can be disable with config

  • Uses a new formula for calculating the required experience levels for anvils.
  • Allows anvil usage beyond the vanilla level 39 cap.
  • Disable mending (default off)
  • Gives you the ability to skin armor using other armor pieces (see gallery for how)

Why change the anvil formula?

With the vanilla formula for level calculation, book with low enchants level are useless as it could lead to being too expensive.

You need a calculator to calcualte what book to put on first, which is annoying.

Repairing with ores are not practical due to the xp requirement and mending are too unbalanced.

Anvil level formula:

This is not required for gameplay, please check code for more clearity.

TL;DR: Levels are calculated base on changes in enchantment.

Basic formula (code):

Cost​=∑(Level×3)+[Mending Bonus (5)]

If enchantment books are used (code):

Repair Cost=[Cost calculation of book]×Multiplier

If not (code):

Final Repair Cost=max(1,[Result Cost]​−max([Item1 Cost]​​,[Item2 cost]​​))×Multiplier

Rename and repair always cost 1 level.

Examples:

Note level of enchants are represent with roman numerals for clearity, value calculate with multiplier of 1.

Unenchanted pickaxe + Unbreaking III require 9 levels (III * 3)

Unbreaking III pickaxe + Mending require 8 level (I * 3 + 5)

Efficiency V pickaxe + Unbreaking III pickaxe require 9 level ((V*3 + III*3)-max(V*3,III*3))

Config:

NameDescriptiondefault
disableMendingdisable mendingfalse
maxCostMax level allowed32767
multiplierLevel multiplier (require rebalance)1
disableRebalancedisable rebalancefalse
disableSkinningdisable skinningfalse

Credit:

Anvil Unlocker for showing infomation about how level unlock work

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:AGPL-3.0-only
Опубликован:1 месяц назад
Обновлён:1 месяц назад
Главная