Hola! soy algo nuevo en esto asi que no se muy bien ¿alguien me diria porque aqui salta error?
Se los agradeceria mucho, Gracias!
"events": {
"dmg": {
"damage": {
"amount": 1,
"type": "none",
"target": "self"
},
"run_command": {
"command": [
"effect @s instant_health 10 0 true"
]
}
},
"hit": {
"run_command": {
"command": [
"function bolt"
]
}
},
"add_mob_effect": {
"effect": "instant_damage",
"target": "other",
"duration": 0,
"amplifier": 0
},
"use": {
"run_command": {
"command": [
"event entity @p weather_test"
]
}
},
"on_use_event": {
"sequence": [{
"damage": {
"type": "magic",
"amount": 1,
"target": "self"
}
}]
},
"hurt": {
"damage": {
"type": "magic",
"amount": 1,
"target": "self"
}
}
}