fix some typo on yml resources.

This commit is contained in:
alexcrea 2024-02-01 19:22:22 +01:00
parent 8ba1b532df
commit 655a0c36ac
2 changed files with 10 additions and 6 deletions

View file

@ -5,9 +5,9 @@
# (exemple: protection can be applied to chestplate AND should not have other "protection") # (exemple: protection can be applied to chestplate AND should not have other "protection")
# These restriction are about not allowing enchantment on illegal items # These restriction are about not allowing enchantment on illegal items
restriction_aqua_infinity: restriction_aqua_affinity:
enchantments: [aqua_infinity] enchantments: [aqua_affinity]
notAffectedGroups: [helmet] notAffectedGroups: [helmets]
restriction_bane_of_arthropods: restriction_bane_of_arthropods:
enchantments: [bane_of_arthropods] enchantments: [bane_of_arthropods]
@ -86,7 +86,7 @@ restriction_lure:
notAffectedGroups: [fishing_rod] notAffectedGroups: [fishing_rod]
restriction_mending: restriction_mending:
enchantments: [ending] enchantments: [mending]
notAffectedGroups: [can_unbreak] notAffectedGroups: [can_unbreak]
restriction_multishot: restriction_multishot:
@ -119,7 +119,7 @@ restriction_quick_charge:
restriction_respiration: restriction_respiration:
enchantments: [respiration] enchantments: [respiration]
notAffectedGroups: [helmet] notAffectedGroups: [helmets]
restriction_riptide: restriction_riptide:
enchantments: [riptide] enchantments: [riptide]
@ -145,6 +145,7 @@ restriction_sweeping:
enchantments: [sweeping] enchantments: [sweeping]
notAffectedGroups: [swords] notAffectedGroups: [swords]
# Do not exist in 1.18 but future proof
restriction_swift_sneak: restriction_swift_sneak:
enchantments: [swift_sneak] enchantments: [swift_sneak]
notAffectedGroups: [boots] notAffectedGroups: [boots]

View file

@ -51,6 +51,7 @@ axes:
- netherite_axe - netherite_axe
melee_weapons: melee_weapons:
type: include
groups: groups:
- swords - swords
- axes - axes
@ -64,7 +65,7 @@ helmets:
- diamond_helmet - diamond_helmet
- golden_helmet - golden_helmet
- netherite_helmet - netherite_helmet
- turtle_helme - turtle_helmet
chestplate: chestplate:
type: include type: include
@ -115,6 +116,7 @@ wearable:
- player_head - player_head
- creeper_head - creeper_head
- dragon_head - dragon_head
# do not exist in 1.18 but exist in future update
- piglin_head - piglin_head
groups: groups:
- armors - armors
@ -176,6 +178,7 @@ can_unbreak:
- shield - shield
- carrot_on_a_stick - carrot_on_a_stick
- warped_fungus_on_a_stick - warped_fungus_on_a_stick
# do not exist in 1.18 but exist in future update
- brush - brush
groups: groups:
- melee_weapons - melee_weapons