eclipseisoffline / modifyplayerdata

This mod allows Minecraft's data commands (/data, /execute store, etc.) to modify player data
https://modrinth.com/mod/modify-player-data
GNU Lesser General Public License v3.0
1 stars 0 forks source link

[BUG] Fire tag not functioning #4

Open Audidemi opened 2 months ago

Audidemi commented 2 months ago

Describe the bug Fire data does not seem to be working on the player. This command:

execute at @e[tag=Flamering] run data merge entity @e[limit=1,sort=random,distance=..3,tag=!P] {Fire:10s}

Works perfectly on other entities in the area I intend to affect, but the player itself does not get affected.

To Reproduce Steps to reproduce the behavior:

  1. Run this command in a command block after spawning any entity with the tag "Flamering": execute at @e[tag=Flamering] run data merge entity @e[limit=1,sort=random,distance=..3,tag=!P] {Fire:10s}

An additional, simpler method. Data merge entity @s {Fire:377s}

Expected behavior Player should be on fire, showing the burning animation and taking damage (in survival/adventure).

Minecraft setup

Logs Game did not crash. Command/command block produced no output.

Additional context Thank you!

eclipseisoffline commented 2 months ago

Hi, does the player appear on fire for a short time (~0.5s) when running the command, or is it not set on fire at all? Did you verify longer times (/data merge entity @s {Fire:300s}) also don't work?

Audidemi commented 2 months ago

Interestingly, at first visually nothing showed up. After restarting the world, the fire animation did start showing up, but still did no damage to the player. It’s very inconsistent, sometimes when a server is joined the animation will show up every time during that session, but other times not at all. Still no damage either way.

eclipseisoffline commented 2 months ago

Are there any command blocks that change the Fire tag? Can you reproduce this with the same mods in a new world?