Wither rose prioritizes any pre-applied effect amplifier over the amplifier applied by the rose, resulting in unexpected damage intervals
Wither rose blocks will always prefer the amplifier an entity has for the wither effect over it's own applied effect. This means that if the player has an amplifier of 0, or 1, they will take damage slower than they normally would when standing inside a wither rose.
Steps to Reproduce:
- (optional) Apply regeneration
/effect give @p minecraft:regeneration infinite 255
- Place down a wither rose, stand inside it
→ observe damage timing interval - Give the player wither with an amplifier of 0
/effect give @p minecraft:wither infinite 0
Expected Result:
The minimum amplifier applied when standing in the rose would be from the rose itself, and the maximum would be the player's effect applied separate from the rose.
Observed Behavior:
With a lower amplifier applied, the player will be damaged slower than expected.
Screenshots/Videos:
Created Issue:
Wither Rose damaging slower than it should when player has small levels of wither effect
If the player has wither 1 effect and stand on wither rose, they will be damaged slower than it should. Video explains it better.
WitherRosedamaging slower than it should when player has small levels of wither effectWither rose prioritizes any pre-applied effect amplifier over the effect the block applies resulting in unexpected damage intervals
If the player haswither1effectand stand on wither rose, they willbe damagedslower thanit should. Video explains it better.Wither rose blocks will always prefer the amplifier an entity has for the wither effect over it's own applied effect. This means that if the player has an amplifier of 0, or 1, they will take damage slower than they normally would when standing inside a wither rose.
Steps to Reproduce:
- (optional) Apply regeneration
/effect give @p minecraft:regeneration infinite 255- Place down a wither rose, stand inside it
→ observe damage timing interval- Give the player wither with an amplifier of 0
/effect give @p minecraft:wither infinite 0Expected Result:
The minimum amplifier applied when standing in the rose would be from the rose itself, and the maximum would be the player's effect applied separate from the rose.
Observed Behavior:
With a lower amplifier applied, the player will be damaged slower than expected.
Screenshots/Videos:
Wither rose prioritizes any pre-applied effect amplifier over theeffect the block appliesresulting in unexpected damage intervalsWither rose prioritizes any pre-applied effect amplifier over the amplifier applied by the rose, resulting in unexpected damage intervals
The wither 1 effect applies damage if its remaining duration in ticks is divisible by 40.
If the entity doesn't already have the wither effect with a higher duration, the wither rose sets the wither duration to 40 ticks every tick, so the entity is tried to be damaged constantly.
Can confirm for 21w06a.