Mojira Archive
MCPE-174388

Entity damage events do not work with boats, minecarts and armor stands

Attacking any type of boat, minecart or armor stand does not trigger entityHitEntity and entityHurt afterEvents in 1.4.0-beta

Steps to reproduce
1. Write a script that is using entityHurt event in script api v1.4.0-beta
You may use this script or the sample add-on (bug_bp_new.mcpack)
2. Launch the game
3. Try to trigger the event

Observed results:
Attacking Boat, Minecart or Armor Stand entity does not trigger entityHurt event
Attacking any other does trigger those script events
No console log messages shown

Expected results:
Attacking Boat, Minecart or Armor Stand entity will trigger entityHurt event

Event is triggered when I attack the cow

But is not triggered when I hit the boat

Unresolved

Mixer blyatb

2023-08-18, 09:04 PM

2024-03-12, 01:04 PM

3

4

Confirmed

1200018

Script-API

1.20.30.22 Preview, 1.20.12 Hotfix, 1.20.15 Hotfix, 1.20.51 Hotfix

-