Перейти к содержимому
Mineforgian

Actually Unbreaking

makes the unbreaking enchantment actually make tools unbreakable!

Загрузки
86K
Подписчики
69
Обновлён
16 августа 2024 г.
Лицензия
MIT

Опубликован 31 июля 2021 г.


i decided to make a mixin that changes the unbreaking enchantment to make the item actually unbreakable.

just apply the unbreaking enchantment to whatever item you can apply it to and it would probably work.

the config file is located in config/actuallyunbreaking.json or config/actuallyunbreaking.toml for fabric and forge respectively.


fabric dependencies

mod doesn't need fabric api

modmenu and cloth config for a config gui

forge dependencies

1.16.5+: cloth config is optional if you want a config gui.

1.15.2: you might be able to use configured for a config gui. (i haven't tested this)

1.12.2: mixinbootstrap is required.

config option explanations (if you're not using the gui)
  • maxLevelOnly: only the last level of unbreaking will set the tool to be unbreakable if this is true. default = false

  • useUnbreakableAtLevel: if this is true, the tool will only be unbreakable at a specified level (overrides maxLevelOnly option). default = false

  • unbreakableAtLevel: the specified level the tool will be unbreakable at. default = 3

  • mendingIncompatibility: unbreaking will be incompatible with mending if this is true. default = true

  • useUnbreakableTag: when the tool takes damage, the unbreakable nbt tag will be added and unbreaking (and mending) will be removed from the tool (you will no longer be able to add unbreaking and mending to the tool) if this is true. default = true


this mod is server side only.

 

modpacks??

sure whatever


forge github link

curseforge links:

fabric

forge

Ченджлог

1.12.2-0.5.2Альфа1.12.2 · 16 августа 2024 г.

bug fixes

  • fixed the mod not working
1.20.6-0.3.3Альфа1.20.6 · 6 мая 2024 г.

fixed bugs

  • fixed a crash
  • fixed mending and unbreaking being compatible with tools that have the unbreakable tag
1.20.6-0.3.2Альфа1.20.6 · 5 мая 2024 г.

updated to 1.20.6

1.20.1-0.3.1Альфа1.20.2, 1.20.3, 1.20.4 · 1 апреля 2024 г.

bug fixes

  • fixed the ignorance of levels config when not using the unbreakable tag (thanks to GDumail!)
1.19.4-0.3.1Альфа1.19.2, 1.19.3, 1.19.4 · 1 апреля 2024 г.

bug fixes

  • fixed the ignorance of levels config when not using the unbreakable tag (thanks to GDumail!)
1.18.2-0.7.1Альфа1.18, 1.18.1, 1.18.2 · 1 апреля 2024 г.

bug fixes

  • fixed the ignorance of levels config when not using the unbreakable tag (thanks to GDumail!)
1.17.1-0.9.1Альфа1.17, 1.17.1 · 1 апреля 2024 г.

bug fixes

  • fixed the ignorance of levels config when not using the unbreakable tag (thanks to GDumail!)
1.16.5-0.16.1Альфа1.16.4, 1.16.5 · 1 апреля 2024 г.

bug fixes

  • fixed the ignorance of levels config when not using the unbreakable tag (thanks to GDumail!)

Комментарии

Загружаем…