Hello Guys, i really dont know where to post this, so i do it here. Basically, i want to know if someone knows the sound tag of this sound that gets played when you hit a invunerable entity in minecraft, i dont like it so i want to remove it but i cannot find it in the sounds folder, does anybody know the name of that sound and if it is possible to remove it?
#What's this sound???
1 messages · Page 1 of 1 (latest)
Here, i post a video that shows the sound i am talking about that i want to not want to be played
It sounds like you are trying to create an entity that does not take damage, I think this sound is the game.player.attack.nodamage and it happens when the attack does not deal damage.
You can try this:
-
Set the entity's health to 1000 and add full knockback resistance.
-
When the entity is hit, trigger an event to apply the
instant_healtheffect. -
In your entity's render controller, remove the red color when the entity takes damage.
"is_hurt_color": {}
"on_fire_color": {} -
In the
sounds.jsonfile remove thehurtsound from your entity using an empty custom sound.
{
"entity_sounds": {
"entities": {
"example:entity_identifier": {
"events": {
"hurt": { "sound": "custom.empty.sound", "volume": 0.0 }
},
"volume": 1.0
}
}
}
}
In practice, the damage is caused but has no effect, this should prevent this sound from happening.
You must edit your entity's "minecraft:damage_sensor" component to allow it to take damage from players.
Alright 👍