How to make a mob in the nether spawn in lava ?, Like the strider from 1.16

Started by JoseRicardo_YT on Tue, 04/13/2021 - 15:19

Topic category: Help with modding (Java Edition)

Last seen on 14:48, 11. May 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make a mob in the nether spawn in lava ?, Like the strider from 1.16
Tue, 04/13/2021 - 15:33 (edited)
hi i'd like to make a naturally spawned mob on lava, like the strider from 1.16
I want my mob to breed in lava, but I'm not sure how I can do it. something like the spawn and the behavior of this gentleman here:

Latest | ☆Minecraft Amino Español☆ Amino

Edited by JoseRicardo_YT on Tue, 04/13/2021 - 15:33
Last seen on 13:42, 23. Mar 2022
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
All you have to do is limit…
Tue, 04/13/2021 - 22:01

All you have to do is limit the blocks it can spawn on to lava (there is a section on the mobs spawn conditions page for this)

Last seen on 14:48, 11. May 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
ok, and how do I limit the…
Tue, 04/13/2021 - 23:42

ok, and how do I limit the blocks in which my mob can generate?

Last seen on 13:42, 23. Mar 2022
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Spawn and generate are the…
Tue, 04/13/2021 - 23:46

Spawn and generate are the same thing?

 

Last seen on 13:38, 7. May 2022
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I think the term "spawn" is…
Wed, 04/14/2021 - 00:56

I think the term "spawn" is commonly used for living entities that naturally appear under certain conditions (like nighttime for monsters), while "generate" is usually for structures, ores, plants, etc. which are parts or features of a world you want to appear somewhere.

if you want a mob to naturally spawn on lava, you'd have to override its natural spawning condition which can be done using a simple procedure, even if you don't code. in your mob's "natural entity spawning condition" condition, add this procedure:

check if block below is of material type lava (https://i.imgur.com/D3YKcqF.png)

which checks for lava underneath the mob and returns either true or false. if true is returned, your entity will then spawn on lava.