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")
# 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]

View file

@ -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