Many land mobs in water #3263
Labels
No Label
#P1 CRITICAL
#P2: HIGH
#P3: elevated
#P4 priority: medium
#P6: low
#Review
annoying
API
bug
code quality
combat
commands
compatibility
configurability
contribution inside
controls
core feature
creative mode
delayed for engine release
documentation
duplicate
enhancement
environment
feature request
gameplay
graphics
ground content conflict
GUI/HUD
help wanted
incomplete feature
invalid / won't fix
items
looking for contributor
mapgen
meta
mineclone2+
Minecraft >= 1.13
Minecraft >= 1.17
missing feature
mobile
mobs
mod support
model needed
multiplayer
Needs adoption
needs discussion
needs engine change
needs more information
needs research
nodes
non-mob entities
performance
player
possible close
redstone
release notes
schematics
Skyblock
sounds
Testing / Retest
tools
translation
unconfirmed
mcl5
mcla
Media missing
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: VoxeLibre/VoxeLibre#3263
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
MineClone2 version:
What happened?
I always see many land mobs in water.
What should happen:
They should try to go to land if in water.
Steps to reproduce
Spawn many animals near water and wait. Many mobs will be in water.
This is a duplicate of the bouncing mobs in water / flying animals.
They fall into the water and then cannot get out. Hence "too many land mobs in water."
I can say, though, that this is a lot better than what happens in MCL5. In those worlds I would have an entire zoo in the ocean off shore by about 12-15 nodes. hundreds of bouncing animals all refusing to go back to land.
While this happens in mc also, it's a fundamental issue with pathfinding in both games. the animals will randomly pathfind to a destination without checking to see if that location is land, or if they can actually get there. So, the animals end up doing the lemmings thing where they all walk off a cliff.
You're spot on on the pathfinding. I think this is a separate bug from the flying mobs issue which is a lag/floating/distance issue. This can be solved by pathfinding tweaks.
I do want to look into pathfinding to stop them walking off cliffs, so I guess once I've learned more I can consider this also.
Well, if the pathfinding stops them from going into the water, then there will be less bouncing / flying mobs. Though, apparently we also need to check mobs to make sure that they do not spawn in / underwater... I forget the issue, but Nicu raised it.
And, the Original Post is correct, they need to head to land, if in water.
Mobs can spawn underwater: #2692
Yep, that's the one! lmao. Thank you, Nicu
Should be resolved by #4479 to a large extend. Non-water mobs avoid water, and head to shore when 5 blocks away.
Please help test #4479 for remaining issues.