Summary
Add a passive “hibernation” or “idle sleep” behavior for passive mobs (such as cows, sheep, horses, etc.) during nighttime, especially in peaceful environments. This would not only reduce lag but also increase immersion and realism.
How It Works
📌 Activation Conditions:
-
It is nighttime.
-
The mob has been idle for a certain time (e.g. 20 seconds).
-
There are no nearby threats (hostile mobs or players holding weapons).
-
The mob is not being interacted with (not bred, fed, or ridden).
💤 In This State:
-
The mob does not move or rotate.
-
It may lower its head slightly or close its eyes if the model allows.
-
The AI task frequency is significantly reduced.
-
It may occasionally play soft sleep sounds (e.g. quiet breathing).
⏰ Awakens When:
-
A player comes close or holds food.
-
The mob takes damage or detects danger.
-
Morning comes.
-
A bell rings nearby.
Why Add This Feature?
✅ Performance: Reduces unnecessary AI checks and movement in villages or farms.
✅ Atmosphere: Makes villages feel more peaceful and “asleep” at night.
✅ Realism: Many real animals (especially livestock) sleep standing still.
✅ Synergy: Fits well with the cozy, immersive world Minecraft aims to offer.
Additional Notes
-
This mechanic should not fully freeze the mob, just pause non-essential actions.
-
Could use a new AI state like
"minecraft:passive_sleeping"to allow custom datapack interactions. -
Modders and mapmakers would benefit from more AI states.
Bonus Suggestion
Allow horses or cows to "lightly snore" during this state for extra ambience.
Please sign in to leave a comment.
0 Comments