MineClone2/mods/ITEMS/mcl_enchanting
Elias Åström 573b1dc44b Do not include unnecessary tool_capabilities
This commit makes enchanted tools which have no use for
tool_capabilities to not include it in their metadata.  It does this by
not including tool_capabilities in the metadata of an enchanted tool if
at least one of two cases is true:

(1) The tool is not enchanted with unbreaking or efficiency
(2) The tool does not have tool_capabilities defined in its definition

The first case covers situations like having a pickaxe only being
enchanted with silk_touch.  The second case covers situations like a
piece of armor being enchanted with unbreaking.
2021-04-18 11:40:43 +02:00
..
locale Fixes typos, grammar errors, and some translation flaws in several german translation files. 2021-04-14 22:03:36 +02:00
models Move mcl_enchanting to ITEMS 2020-12-14 14:11:59 +01:00
sounds Give credit for the enchanting sounds (Closes #921) 2021-01-05 17:27:38 +01:00
textures Move mcl_enchanting to ITEMS 2020-12-14 14:11:59 +01:00
enchantments.lua Do not include unnecessary tool_capabilities 2021-04-18 11:40:43 +02:00
engine.lua Do not include unnecessary tool_capabilities 2021-04-18 11:40:43 +02:00
groupcaps.lua Do not include unnecessary tool_capabilities 2021-04-18 11:40:43 +02:00
init.lua Merge branch 'mcl_autogroups' 2021-03-18 13:43:58 +01:00
mod.conf MAKE EVERY SINGLE MOD USE PROPER COLORS!!! 2021-03-30 00:01:29 +02:00
roman_numerals.lua Move mcl_enchanting to ITEMS 2020-12-14 14:11:59 +01:00