Some mobs get aggravated when their kind is attacked with enable_damage set to false #3695

Open
opened 2023-05-06 20:14:28 +02:00 by kneekoo · 1 comment
Contributor

MineClone2 version: 0.83 + #3665

What happened?

While testing #3665, I noticed that even when you disabled the damage, and hostiles are not aggravated by the players in range, if there are multiple of the same kind when you kill one of them, they will come after you. Other types of mobs won't attack.

I tested all aggro-capable mobs, but only the following retaliate when one of their kind is attacked:

  • zombies + baby zombies
  • zombie villagers
  • skeletons
  • wither skeletons
  • strays
  • evokers (details below)
  • husk
  • iron golems (details below)
  • pillagers
  • silverfish
  • slimes

Details:

  • evokers: they spawn vexes but the vexes move aimlessly, and some of them start moving/flying straight up, just like our parrots;
  • iron golems: even after you kill those you spawned from eggs, newly spawned golems will already be aggro at you; wiki quote:

An iron golem built by a player never attacks players, even when hit or when the player attacks another villager or another golem in front of the player-built golem.

What should happen:

They shouldn't become aggravated with the players having enable_damage set to false.

Steps to reproduce

  • start your world with Enable damage disabled in Minetest
  • make sure you have the server privilege, with /grantme server
  • run /set enable_damage false in the chat
  • do /gamemode creative
  • with spawn eggs, spawn at least 2-3 of the mentioned mobs, and kill one (one hit in creative mode, by hand)
MineClone2 version: 0.83 + #3665 ### What happened? While testing #3665, I noticed that even when you disabled the damage, and hostiles are not aggravated by the players in range, if there are multiple of the same kind when you kill one of them, they will come after you. Other types of mobs won't attack. I tested all aggro-capable mobs, but only the following retaliate when one of their kind is attacked: - zombies + baby zombies - zombie villagers - skeletons - wither skeletons - strays - evokers (details below) - husk - iron golems (details below) - pillagers - silverfish - slimes Details: - evokers: they spawn vexes but the vexes move aimlessly, and some of them start moving/flying straight up, just like our parrots; - iron golems: even after you kill those you spawned from eggs, newly spawned golems will already be aggro at you; [wiki quote](https://minecraft.fandom.com/wiki/Iron_Golem#Provocation_by_players): > An iron golem built by a player never attacks players, even when hit or when the player attacks another villager or another golem in front of the player-built golem. ### What should happen: They shouldn't become aggravated with the players having `enable_damage` set to false. ### Steps to reproduce - start your world with `Enable damage` disabled in Minetest - make sure you have the `server` privilege, with `/grantme server` - run `/set enable_damage false` in the chat - do `/gamemode creative` - with spawn eggs, spawn at least 2-3 of the mentioned mobs, and kill one *(one hit in creative mode, by hand)*
kneekoo added the
bug
mobs
creative mode
labels 2023-05-06 20:14:28 +02:00
Author
Contributor

Exception from the rule: the piglin brute also gets aggravated and tries to retaliate when you attack a piglin.

Exception from the rule: the piglin brute also gets aggravated and tries to retaliate when you attack a piglin.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: VoxeLibre/VoxeLibre#3695
No description provided.