mojira.dev
MC-251202

Item entities don't receive 0.5 seconds of immunity after taking damage

An inconsistency that I've noticed is that unlike other entities with health item entities don't receive a 0.5 second period of immunity after taking damage.

 

Steps to reproduce

Create a setup like this and place a lever in the middle

Run this command while near the item:

/data get entity @e[type=item,sort=nearest,limit= 1] Health

Flick the lever and run the same command again and notice that it's health has decreased by 2

Further experimentation can be done by using repeaters to add delay up to 0.5s between the tnt to see that the outcome is the same even without the blasts being processed in the same game tick.

[media]

Attachments

Comments 3

hope i've worded this properly as this bug breaks a variety of tnt based blast chambers

"Invalid" because i don't understand your issue

Thank you for your report!
We're tracking this issue in MC-226257, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

ncolyer11

(Unassigned)

Unconfirmed

(Unassigned)

1.18.2, 22w17a

Retrieved