How to make a gamerule that if true it spawns mobs.

Started by iTheCreepster on

Topic category: Help with MCreator software

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a gamerule that if true it spawns mobs.

Im trying to make a gamerule that when it is enabled it will spawn a specific mob.

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
on the mobs spawn condition…
Fri, 11/19/2021 - 05:01

on the mobs spawn condition I suppose

 

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
no no like how do i make the…
Fri, 11/19/2021 - 20:01

no no like how do i make the mob spawn using gamerules like if its false it doesnt spawns the mob and if it true spawns the mob

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yeah, spawning conditions or…
Fri, 11/19/2021 - 20:08

yeah, spawning conditions

or do you mean that it spawns literally besides the player when game rule true?

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
no like the mob spawns in…
Fri, 11/19/2021 - 20:18

no like the mob spawns in when the gamerule is set to true kinda like phantoms.

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes.......... Put closely…
Fri, 11/19/2021 - 20:39

Yes.......... Put closely attention: On the Spawning section of the mob click the + button on the bottom where it says Spawning Condition

Then put this

if logic game rule "GAME_RULE" = true

 do return true

return false

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
indeed yes
Fri, 11/19/2021 - 21:06

indeed yes

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank u it worked
Sat, 11/20/2021 - 02:03

thank u it worked