mojira.dev
MC-259835

/damage _ 0 can damage certain entities (End Crystal, Item Frame, Painting)

How to reproduce

  1. Place an End Crystal down

  2. Run

    /damage @e[type=end_crystal,limit=1] 0

    → Notice how the End Crystal blows up

Notes:

This also pops off item frames and paintings.

Linked issues

Comments 5

But they behavior like that before /damage exists, they are destroyed upon recieved any damage regardless damage value. A snowball that do 0 damage can destroy End Crystal too.

Can confirm. Some behaviors may be intentional, but some should be treated as bugs..

It should behaviors exact same to when you throw snowball to them. if a snowball can blow up end crystal, then /damage should too.

Hello,

I think it's intentional, as siiftun1857 mentioned. Snowballs don't cause damage but are still effective against these types of entities (item frames, end crystals, ...). Here's a video to illustrate (too large to attach as a file):

YouTube

Therefore, I believe it's WAI (working as intended).

Well, snowballs cause damage. Use snowball against mobs will cause them react panic or fight back, or for villagers it cause minor_negative gossip, just like any other forms of damage do. Only do 0 damage value isn't means it is not a damage.

Shuddery

(Unassigned)

Confirmed

Platform

Low

Commands

23w06a, 1.19.4 Pre-release 1, 1.20.1, 1.21

Retrieved