[TUTORIAL] Remove vanilla mob spawns

Started by fuchsiashock on

Topic category: User side tutorials

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[TUTORIAL] Remove vanilla mob spawns
Sat, 02/15/2020 - 12:51 (edited)

I've used a little procedure to remove selected vanilla mob spawns instead of using an external mod.

Make a new procedure

Event trigger: Entity joins the world

Add IF/DO loop

If is current entity (sub)type of EntityCreeper

Do Despawn provided entity

 

Add more If loops for other mobs.

Is there a more efficient way?

Edited by fuchsiashock on Sat, 02/15/2020 - 12:51
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nice idea but you should add…
Sat, 02/15/2020 - 12:28

nice idea but you should add [TUTORIAL] at the title of this page

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Problem with this is the…
Thu, 03/05/2020 - 13:05

Problem with this is the mobs effectively spawn first, then are removed which can create graphical ghost glitches.

/gamerule doMobSpawning false is obviously better but then it prevents everything.

Thinking the best way is have all creatures and mobs spawning via structures instead?

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I tried this and got ghost…
Wed, 02/28/2024 - 21:55

I tried this and got ghost glitches