mojira.dev
MC-306564

Item entity health does not decrease uniformly when on cactus with tick stepping

Short description
When an item entity is summoned on a cactus and the game is tick stepped, its health decreases irregularly instead of uniformly to 0 within the expected 5 ticks.

Steps to reproduce

  1. Freeze the game with /tick freeze.

  2. Summon an item entity at a specific position on a cactus (e.g., using /summon minecraft:item ~ ~ ~ {Item:{count:1,id:"minecraft:sand"},PickupDelay:40}). Ensure the cactus is placed so that the item spawns in contact with it (e.g., directly above or inside the cactus block).

  3. Check the item's health using a command like /execute as @e[type=item,distance=..5] run data get entity @s Health.

  4. Step forward 5 ticks with /tick step 5.

  5. Repeat steps 3–4 multiple times (e.g., up to 15 ticks total).

Expected result
The item entity's health should decrease uniformly from 5 to 0 over the course of 5 ticks, and the entity should be removed (due to cactus damage) after 5 ticks.

Actual result

  • Initially, the item entity has health 5.

  • After 5 ticks, health is 3 (decrease of 2).

  • After 10 ticks, health is around 1–2 (decrease of 1–2 from previous, not consistent).

  • After 15 ticks, some entities have health 1, while others have already been removed (deleted).

The health decrease is not uniform, and the removal timing is inconsistent across entities.

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media]

Ben Ben

(Unassigned)

Unconfirmed

(Unassigned)

26.1 Snapshot 9

Retrieved