1

I want to use a command block to set a player (which already has permanent fire resistance) permanently on fire, mostly as an aesthetic. Right now I have the following command:

/data merge entity <Playername> {Fire:100}

When I run it it says "Unable to modify player data". How do I get this to work? I'm new to commands in Minecraft.

1
  • You can't put < and > in posts, the system interprets that as HTML. You can use &lt; and &gt;
    – One 2 Many
    Commented Feb 20, 2021 at 0:01

1 Answer 1

2

This approach could work:

/execute at @p run summon minecraft:small_fireball ~ ~3 ~ {direction:[0.0,-10.0,0.0]}

It targets a player and constantly summons a small fireball from a Fire Charge around them, which would set the player on fire. You could potentially modify this a bit to create a permanent "on fire" effect.

(Source)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .