When a player hit the creaking, sound and particles are applied, but the advancement player_hurt_entity is not trigger.
Creaking has Health:1f and is Invulnerable:0b. Its invulnerability is hardcodded.
There is no damage, so it sounds "ok" to not get the interraction, but this leaves 0 way to detect the interraction with this mob.
In a datapack:
# advancement test:hurt
{
"criteria": {
"player_hit_creaking": {
"trigger": "minecraft:player_hurt_entity",
"conditions": {
"entity": {
"type": "minecraft:creaking"
}
}
}
},
"rewards": {
"function": "test:hurt"
}
}
# function test:hurt
advancement revoke @s only test:hurt
say I hit a Creaking!
Thank you for your report!
We're tracking this issue in MC-278365, 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 (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki