Make players mobs too !

This commit is contained in:
2026-09-30 10:42:52 -03:00
parent 65f27d6099
commit 4fbcca6851
23 changed files with 314 additions and 132 deletions
+3 -2
View File
@@ -41,8 +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.
Players hit animals, and each other, 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. See [Players](players.md#health-and-hunger).
**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: