Allow mobs to be hit

This commit is contained in:
2026-09-30 10:29:13 -03:00
parent 9e580f175e
commit 65f27d6099
8 changed files with 143 additions and 1 deletions
+3
View File
@@ -41,6 +41,9 @@ and players. Mods define new kinds in their `entities/` folder, and draw them wi
**Animals** (the default) are mobs: they wander around, panic when hurt, look at players now and then, swim up in water,
and never despawn. They're saved with the world, and players can't place solid blocks where one is standing.
Players hit animals by left clicking them from up to 3 blocks away, for 1 physical damage (half a heart) whatever they
hold. The hit pushes them away, and like any damage it can't hurt them again for half a second unless it's harder.
**Scripted** entities stay exactly where a script puts them. They don't fall, think or get hurt, and aren't saved with
the world, so a script never finds one it doesn't know about after a restart. The fishing hook is one: