I need help getting my mob to spawn underground.

Started by bardo on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need help getting my mob to spawn underground.

So, I have this small mob (less than 1 block in size). I need it to spawn in caves. I almost managed to do this using a procedure, but with my current setup, it's only spawning near lava.

Here is my procedure: https://imgur.com/a/NWPL3C3

Here is my spawning tab: https://imgur.com/a/Qqy5AUR (weight = 500 for tests)

 

Joined Jun 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So umm quick thing that WILL…
Tue, 06/09/2026 - 23:56

So umm quick thing that WILL crash your world beacuse you know that thing set to 500? That is the spawn wait. And the spawn wait conrtols how often the entity spawns. A more reasonable spawn wait would be like maybe 40 and thats on the high side

Joined Jun 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh sorry I didn't read the…
Tue, 06/09/2026 - 23:59

Oh sorry I didn't read the 3rd line on the title nvm

Joined Jun 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No way I miss-typed "weight"…
Wed, 06/10/2026 - 00:06

No way I miss-typed "weight" like 6 times in a row

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
lol thats cool, i thought i…
Wed, 06/10/2026 - 00:10

lol thats cool, i thought i was the one who couldn't find the right option.

So, i remove the spawning condition and create a on initial entity spawn procedure, and now they dont spawn at all

I'm seriously considering just letting it spawn near lava

Joined Jun 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just making sure but, did…
Wed, 06/10/2026 - 00:13

Just making sure but, did you attach the condition to the spawning condition and is it still trying to bind to that condition?

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No, I deleted the spawn…
Wed, 06/10/2026 - 00:18

No, I deleted the spawn condition and left only the trigger "on initial..."

Joined Jun 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe try editing the…
Wed, 06/10/2026 - 00:31

Maybe try editing the procedure to only check if the sky is visible but, idk if it will work

Joined Jun 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if it doesn't work I'm kinda…
Wed, 06/10/2026 - 00:37

if it doesn't work I'm kinda out of ideas. But there are probobly other forums on it so idk

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It still not working, ill…
Wed, 06/10/2026 - 00:38

It still not working, ill just leave it spawning near lava, maybe my mob only likes hot places.

Thank you so much for your help, really. If I ever find the solution, ill come back to this post.

For now, the bug has become a feature.

Joined Jun 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah, sorry it didn't work.
Wed, 06/10/2026 - 00:42

Yeah, sorry it didn't work.

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
try removing the "get light…
Wed, 06/10/2026 - 06:56

try removing the "get light level" and the < 3 operation 

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
and also when i copied your…
Wed, 06/10/2026 - 07:14

and also when i copied your procedures it works just fine so maybe its the mcreator version or generator

 

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah, I think it's probably…
Wed, 06/10/2026 - 20:46

Yeah, I think it's probably the MCreator version, since I tried recreating the procedure in the latest version and it worked perfectly. It's a shame I'm building the whole mod in 2024.4

 

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Let me find the solution on…
Thu, 06/11/2026 - 05:37

Let me find the solution on 2024.4