What happens?:
When you have a enchanted Item equipped in off-hand and switch it with the main hand by pressing 'F'. The attribute that was applied through the enchantment will be removed even though the player still has the item in an active slot.
Enchantment json file that i used:
{
"anvil_cost": 4,
"description": "Reach",
"effects": {
"minecraft:attributes": [
{
"amount": {
"type": "minecraft:linear",
"base": 1,
"per_level_above_first": 1
},
"attribute": "minecraft:player.block_interaction_range",
"name": "enchantment.reach",
"operation": "add_value",
"uuid": "69696969-0000-0000-0000-000000000001"
}
]
},
"max_cost": {
"base": 51,
"per_level_above_first": 10
},
"max_level": 5,
"min_cost": {
"base": 11,
"per_level_above_first": 10
},
"slots": ["mainhand","offhand"],
"supported_items": "#minecraft:enchantable/mining",
"primary_items": "#minecraft:enchantable/mining",
"weight": 2
}
Thank you for your report!
We're tracking this issue in MC-97087, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.