TransWikia.com

Using command blocks to set players on fire

Arqade Asked on March 24, 2021

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.

One Answer

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)

Answered by Sciborg on March 24, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP