Mobs can spawn underwater #2692

Closed
opened 2022-10-01 13:53:54 +02:00 by kneekoo · 16 comments
Contributor

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:

  • spiders: -8; -7; -14; -10
  • creepers: -9; -11; -10; -13
  • endermen: -7; -10; -8
  • skeletons: (group of 4) -7;

MineClone2: colored_plants branch
Minetest: 5.6.1

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: - spiders: -8; -7; -14; -10 - creepers: -9; -11; -10; -13 - endermen: -7; -10; -8 - skeletons: *(group of 4)* -7; MineClone2: colored_plants branch Minetest: 5.6.1
kneekoo added the
bug
mobs
labels 2022-10-01 13:54:06 +02:00
Contributor

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

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
cora added the
unconfirmed
label 2022-10-02 12:33:35 +02:00
Author
Contributor

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.

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.
Contributor

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

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
Author
Contributor

I created a new world and, while swimming, I noticed a spider spawning at the bottom of a river and floating up:

ACTION[Server]: [mcl_mobs] Mob mobs_mc:spider spawns at (137.0,-8.0,-234.0)

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

spider spawned at the bottom of a river, in daylight

I created a new world and, while swimming, I noticed a spider spawning at the bottom of a river and floating up: ``` ACTION[Server]: [mcl_mobs] Mob mobs_mc:spider spawns at (137.0,-8.0,-234.0) ``` 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 ![spider spawned at the bottom of a river, in daylight](https://i.imgur.com/TYc1QEV.jpg)

Water can generate with air pockets inside of it. Would delaying mob spawning in new blocks help?

Water can generate with air pockets inside of it. Would delaying mob spawning in new blocks help?
Author
Contributor

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):

ACTION[Server]: [mcl_mobs] Mob mobs_mc:spider spawns at (429.0,-7.0,-277.0)

another spider spawned on the bottom of the water, in daylight

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): ``` ACTION[Server]: [mcl_mobs] Mob mobs_mc:spider spawns at (429.0,-7.0,-277.0) ``` ![another spider spawned on the bottom of the water, in daylight](https://i.imgur.com/NhgPrum.jpg)
Author
Contributor

// 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.

2022-10-02 17:36:19: ACTION[Server]: [mcl_mobs] Mob mobs_mc:enderman spawns at (463.0,-10.0,-293.0)
2022-10-02 17:36:19: ACTION[Server]: [mcl_mobs] Mob mobs_mc:skeleton spawns at (463.0,-10.0,-293.0)

The enderman surely teleported, but the skeleton surfaced around this spot:
enderman and skeleton spawned underwater in the same second

And a group of 3 skeletons:

2022-10-02 17:40:20: ACTION[Server]: [mcl_mobs] A group of mob mobs_mc:skeleton spawns at (402.0,-5.0,-296.0)

3 skeletons spawned underwater and surfaced

4, actually, a better perspective here:
4 skeletons floating after spawning underwater

*// 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. ``` 2022-10-02 17:36:19: ACTION[Server]: [mcl_mobs] Mob mobs_mc:enderman spawns at (463.0,-10.0,-293.0) 2022-10-02 17:36:19: ACTION[Server]: [mcl_mobs] Mob mobs_mc:skeleton spawns at (463.0,-10.0,-293.0) ``` The enderman surely teleported, but the skeleton surfaced around this spot: ![enderman and skeleton spawned underwater in the same second](https://i.imgur.com/Nbx631a.jpg) And a group of 3 skeletons: ``` 2022-10-02 17:40:20: ACTION[Server]: [mcl_mobs] A group of mob mobs_mc:skeleton spawns at (402.0,-5.0,-296.0) ``` ![3 skeletons spawned underwater and surfaced](https://i.imgur.com/tXbQgx6.jpg) 4, actually, a better perspective here: ![4 skeletons floating after spawning underwater](https://i.imgur.com/9KUusTF.jpg)

Loosely related: MineClone5/MineClone5#266:

Loosely related: https://git.minetest.land/MineClone5/MineClone5/issues/266:
Author
Contributor

Another double-spawn at the same coordinates and at the same second.

2022-10-02 18:51:26: ACTION[Server]: [mcl_mobs] Mob mobs_mc:enderman spawns at (454.0,-9.0,-318.0)
2022-10-02 18:51:26: ACTION[Server]: [mcl_mobs] Mob mobs_mc:creeper spawns at (454.0,-9.0,-318.0)
Another double-spawn at the same coordinates and at the same second. ``` 2022-10-02 18:51:26: ACTION[Server]: [mcl_mobs] Mob mobs_mc:enderman spawns at (454.0,-9.0,-318.0) 2022-10-02 18:51:26: ACTION[Server]: [mcl_mobs] Mob mobs_mc:creeper spawns at (454.0,-9.0,-318.0) ```
Contributor

as said in the pretty much duplicate of this: can't reproduce. Those screenshots do not help.

as said in the pretty much duplicate of this: can't reproduce. Those screenshots do not help.
Author
Contributor

If it happened regularly, I agree that should be fixed which is why i have tried it in the first place (even before you allegations, as I have told you then too).

They spawn almost every night, and occasionally during daytime. That's pretty regularly, not rare.

But obviously it does not happen all the time so yes it's not that big a deal that I think it makes sense to spend all day and night trying to get to the bottom of it. No idea why you think I should (and if i don't I don't care about the project).

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.

> If it happened regularly, I agree that should be fixed which is why i have tried it in the first place (even before you allegations, as I have told you then too). They spawn almost every night, and occasionally during daytime. That's pretty regularly, not rare. > But obviously it does not happen all the time so yes it's not *that* big a deal that I think it makes sense to spend all day and night trying to get to the bottom of it. No idea why you think I should (and if i don't I don't care about the project). 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.
Contributor

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.

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.
Author
Contributor

Look i have told you multiple times now that i have already done that. Several times. And have yet to see it

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.

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 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.

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?

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.

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.

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.

> Look i have told you multiple times now that i have already done that. Several times. And have yet to see it 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. > 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 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. > 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? 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. > 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. 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.

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.

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.
Ghost removed the
unconfirmed
label 2022-12-31 08:03:01 +01:00
ancientmarinerdev added this to the 0.83.0 - Safe and Sound milestone 2023-01-12 01:52:47 +01:00
ancientmarinerdev modified the milestone from 0.83.0 - Safe and Sound to 3 - Near future 2023-02-03 05:39:21 +01:00
ancientmarinerdev modified the milestone from 3 - Near future to 0.84.0 - Very Nice 2023-03-21 03:20:59 +01:00
ancientmarinerdev modified the milestone from 0.84.0 - Very Nice to 3 - Near future 2023-04-17 05:37:22 +02:00
Author
Contributor

This is no longer a problem.

This is no longer a problem.
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: VoxeLibre/VoxeLibre#2692
No description provided.