I would like to make the "prevent_armor_change{}" enchantment effect to work on the offhand slot and not just on armor slots. If the item has the "minecraft:equippable":{"slot": "offhand"} component. It should be renamed into "prevent_equippement_change{}".
I need it for a Datapack. I tested with a custom curse of binding enchant for the offhand with an item equippable in the offhand but it does not prevent the player from changing his offhand.
Or even better, make the unusable "creative_slot_lock{}" item component usable and working in all game modes. Thus allowing to lock an item in any slot so the player can not move it (but command can, obviously).
Thanks !
RedWay.
PS : I do not know what topic to use for Datapack related feedback.
Please sign in to leave a comment.
0 Comments