Mobs can spawn underwater #2692
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: VoxeLibre/VoxeLibre#2692
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?
For now, I can confirm hostiles to spawn underwater, at the bottom of water bodies. I teleported to those coords to make sure.
Y spawns:
MineClone2: colored_plants branch
Minetest: 5.6.1
I can not confirm this. I've idled 3 in game days and nights over an ocean. Not a single non water mob spawned.
You probably had an airpocket or a small island somewhere or they came from an older version
As mentioned, I used the
colored_plants
branch in the latest Minetest (so both are the latest), and the world is newly created. This started happening sometime before I created issue #2612 - also a new world.This could probably be easier to confirm by logging the block type the new hostiles' feet spawn in. You'll notice how some hostiles spawn underwater, on the bottom of water bodies. After they spawn, they float up to the surface.
Again: no hostiles (or other non water mobs) spawned at all as expected. Logging the block type would probably not change that.
Besides the candidate spawning positions come from find_nodes_in_area_under_air - i have not ever noticed that returning nodes with water (or anything esle but air) on top.
https://git.minetest.land/MineClone2/MineClone2/src/branch/master/mods/ENTITIES/mcl_mobs/spawning.lua#L527
I created a new world and, while swimming, I noticed a spider spawning at the bottom of a river and floating up:
That happened in broad dailight, in just under 3 minutes (IRL) since I created the world with this branch on Minetest 5.6.1.
Seed: coloredplants
mapgen: v7
flags: all (including floatlands)
time: 9:39
Water can generate with air pockets inside of it. Would delaying mob spawning in new blocks help?
That was a generated block, the spider spawned right in front of me. I'm not even sure it was far enough from me for a valid spawn (over 24 nodes), but I didn't have the coords displayed nor was I in any way prepared to take a screenshot when it spawned.
Here's another one (definitely a valid distance):
// the island at these coords is a good place to test this issue
Here's a skeleton that spawned underwater, at the same time as an enderman.
The enderman surely teleported, but the skeleton surfaced around this spot:
And a group of 3 skeletons:
4, actually, a better perspective here:
Loosely related: MineClone5/MineClone5#266:
Another double-spawn at the same coordinates and at the same second.
as said in the pretty much duplicate of this: can't reproduce. Those screenshots do not help.
They spawn almost every night, and occasionally during daytime. That's pretty regularly, not rare.
You can afk for this issue, just log the node types the mobs spawn in. This will quickly show that quite a few mobs spawn around - individual and groups alike. Leave it on for 7 in-game days and you'll see plenty log entries.
Look i have told you multiple times now that i have already done that. Several times. And have yet to see it
So I would say no, it is not very commonplace. The coords on your seed seem to have some spawners under the sea there though, maybe that had something to do with it.
I can see that this issue is apparently very important to you but did you really think you can try to bully me into doing it like that?
That really is funny.
I have just verified again that this isn't totally out of control. I guess I believe you didn't make it up but since you don't even try to be nice about it i'm comfortable leaving it as is for now.
I use the vanilla client, if that matters. It obviously happens frequently enough, as shown in screenshots and logs - and I didn't add all occurrences because it would've made a long list.
I played the game normally, not in a hurry, which is why these are common occurrences because that's what it is when it happens almost every night. The spawners can't spawn creepers and endermen, so that rules out spawner interference, although you really need to be in range for them to spawn anything, so again not possible.
You twisted this into oblivion, it's counterproductive.
I repeat: this happens pretty frequently in normal gameplay and it's not my personal issue or preference. It's just a bug.
How I am not nice about it? Because I poked you about the random chance? Because I told you to get your head straight instead of rambling for no good reason? You're literally wasting your own time creating drama. Be nice, and then expect me to be completely nice.
P.S. It's nice though that you quickly found out that the bug is there - after some quick testing. But you extrapolate that it's not out of control, although you didn't play for a few in-game days, to see how easy it is to get plenty of hostiles around you.
I have managed to recreate this. I'm in the water at this spot. Ocean behind me. The creeper spawned under me. Water doesn't seem to be flowing, so it doesn't appear to be air.
It seems to be on the sand, under water. There was the plant on it, that isn't kelp, I think it was seagrass. I accidentally removed it in the screenshot.
This is no longer a problem.