I followed the instructions to experimantal items (1.16.100+) and looked up at the troubleshooting items guide. Still my cusom sword doesn't do the damage it should and have the icon I gave it. Please help me find my error.
Behavior:
{
"format_version": "1.16.100",
"minecraft:item": {
"description": {
"identifier": "server:jo_sword",
"category": "equipment"
}
},
"components": {
"minecraft:icon": {
"texture": "jo_sword"
},
"minecraft:creative_category": {
"parent": "itemGroup.name.sword"
},
"minecraft:max_stack_size": 1,
"minecraft:hand_equipped": true,
"minecraft:allow_off_hand": true,
"minecraft:foil": false,
"minecraft:durability": {
"max_durability": 100,
"damage_chance": {
"min": 60,
"max": 100
}
},
"minecraft:repairable": {
"repair_items": [
{
"items": [
"minecraft:diamond"
],
"repair_amount": 10
}
]
},
"minecraft:mining_speed": 1,
"minecraft:damage": 10,
"minecraft:enchantable": {
"value": 15,
"slot": "sword"
},
"minecraft:can_destroy_in_creative": false,
"minecraft:weapon": {
"on_hurt_entity": {
"event": "hurt"
},
"on_not_hurt_entity": {
"event": "hurt"
},
"on_hit_block": {
"event": "hurt"
}
},
"minecraft:render_offsets": "tools",
"tag:minecraft:is_sword": {},
"minecraft:display_name": {}
}
}```
item_texture.json
```json
{
"resource_pack_name": "pack.name",
"texture_name": "atlas.items",
"texture_data": {
"jo_sword":{
"textures": "textures/items/jo_sword"
}
}
}```