From 655a0c36ac788e4e62a180f629839e0afef81878 Mon Sep 17 00:00:00 2001 From: alexcrea <42614139+alexcrea@users.noreply.github.com> Date: Thu, 1 Feb 2024 19:22:22 +0100 Subject: [PATCH] fix some typo on yml resources. --- src/main/resources/enchant_conflict.yml | 11 ++++++----- src/main/resources/item_groups.yml | 5 ++++- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/main/resources/enchant_conflict.yml b/src/main/resources/enchant_conflict.yml index 3370f65..33ac631 100644 --- a/src/main/resources/enchant_conflict.yml +++ b/src/main/resources/enchant_conflict.yml @@ -5,9 +5,9 @@ # (exemple: protection can be applied to chestplate AND should not have other "protection") # These restriction are about not allowing enchantment on illegal items -restriction_aqua_infinity: - enchantments: [aqua_infinity] - notAffectedGroups: [helmet] +restriction_aqua_affinity: + enchantments: [aqua_affinity] + notAffectedGroups: [helmets] restriction_bane_of_arthropods: enchantments: [bane_of_arthropods] @@ -86,7 +86,7 @@ restriction_lure: notAffectedGroups: [fishing_rod] restriction_mending: - enchantments: [ending] + enchantments: [mending] notAffectedGroups: [can_unbreak] restriction_multishot: @@ -119,7 +119,7 @@ restriction_quick_charge: restriction_respiration: enchantments: [respiration] - notAffectedGroups: [helmet] + notAffectedGroups: [helmets] restriction_riptide: enchantments: [riptide] @@ -145,6 +145,7 @@ restriction_sweeping: enchantments: [sweeping] notAffectedGroups: [swords] +# Do not exist in 1.18 but future proof restriction_swift_sneak: enchantments: [swift_sneak] notAffectedGroups: [boots] diff --git a/src/main/resources/item_groups.yml b/src/main/resources/item_groups.yml index e8a0153..c2e5334 100644 --- a/src/main/resources/item_groups.yml +++ b/src/main/resources/item_groups.yml @@ -51,6 +51,7 @@ axes: - netherite_axe melee_weapons: + type: include groups: - swords - axes @@ -64,7 +65,7 @@ helmets: - diamond_helmet - golden_helmet - netherite_helmet - - turtle_helme + - turtle_helmet chestplate: type: include @@ -115,6 +116,7 @@ wearable: - player_head - creeper_head - dragon_head + # do not exist in 1.18 but exist in future update - piglin_head groups: - armors @@ -176,6 +178,7 @@ can_unbreak: - shield - carrot_on_a_stick - warped_fungus_on_a_stick + # do not exist in 1.18 but exist in future update - brush groups: - melee_weapons