#how can i give HasVisualFire when i shot a snowball?

1 messages · Page 1 of 1 (latest)

turbid canyon
#

I'm tring to make the fireball function, and i got the model. But I can't figure out giving HasVisualFire: 1b

finite plankBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 If nobody has answered you by <t:1730134102:t>, feel free to use the Summon Helpers button to ping our helper team.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

warm berry
#

HasVisualFire is a little bit of a misnomer. What that does is determine whether, when the entity is on fire, it shows that fire. This is default true for all entities anyway, the main reason it exists is for cases where you want an entity that is on fire to not display that fire

turbid canyon
#

let me explain, how can i make the snowball can have the visual fire when i shot it, like summon or just setting an attribute?

warm berry
#

Give it a positive Fire NBT value, such as 100s

turbid canyon
#

so, do i summon the snowball?

warm berry
#

Yes?

buoyant sparrow
#

You could also do a data merge/modify after it's spawned in.

#

In the case of the snowball being thrown by a player.

turbid canyon
#

i see

#

well, i've trying to make "raycast" and it work

#

but how can i implement that with snowballs?

warm berry
#

What do you mean?

stark oriole
#

snowcasting is quite an old method

#

you just tag the snowball with a tag and then run a ticking command that checks for entities near the tagged snowball

warm berry
#

But why would it be needed here?

stark oriole
#

probably an unrelated question, I think