#minecraft interaction doesn't work

1 messages · Page 1 of 1 (latest)

north dome
#

Hey there,
First of all, are you initiating the event to put add the specific component group to the entity? Also, instead of two filters you can have only one which looks like this:

"minecraft:interact": {
"interactions": [
{
"on_interact": {
"filters": {
"all_of": [
{
"test": "has_equipment",
"value": "barrier",
"subject": "player"
}
]
},
"event": "fa:rocket_fuelled",
"target": "self"
},
"swing": true,
"play_sounds": "armor.equip_generic",
"interact_text": "action.interact.rocket.energy"
}
]
}

finite wing
#

Hey, thank you for responding me. Normally yes

#

"minecraft:entity_spawned": {
"add": {
"component_groups": [
"fa:unfuelled_rocket"
]
},
"set_property": {
"fa:rocket_state": "unfuelled"
}
},

#

when i summon the entity with an egg it should had the component group "fa:unfuelled_rocket"

#

I have modified the filter thank you

finite wing