[TUTORIAL] Remove vanilla mob spawns

Started by fuchsiashock on

Topic category: User side tutorials

Active 4 years ago
Joined Jan 2020
Points:
778

User statistics:

  • Modifications: 1
  • Forum topics: 21
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 80
[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
Active 3 months ago
Joined Jun 2019
Points:
2784

User statistics:

  • Modifications: 4
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3716
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

Active 4 years ago
Joined Jan 2020
Points:
778

User statistics:

  • Modifications: 1
  • Forum topics: 21
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 80
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?

Active 9 months ago
Joined Nov 2023
Points:
128

User statistics:

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

I tried this and got ghost glitches