#Apply effect with item

1 messages ยท Page 1 of 1 (latest)

grand bolt
#

#1067535382285135923 can do that ๐Ÿ‘

fathom onyx
grand bolt
#

Why no scripts?

fathom onyx
#

I want to know if there is a component or something...

grand bolt
#

There is not

fathom onyx
#

I was using "minecraft:damage_sensor", but the way I'm doing it isn't working:

"minecraft:damage_sensor": {
"triggers": [
{
"cause": "entity_attack",
"deals_damage": true,
"on_damage": {
"filters": {
"all_of": [
{
"test": "has_component",
"subject": "other",
"operator": "equals",
"value": "fh:foice"
}
]
},
"target": "self",
"event": "fh:hunter.attack_effect"
}
}
]
}

#

It was a recommendation from @sharp ore , but I don't know how to do it

brazen fox
#

You can easily do this with an entityHitEntity scripting event

grand bolt