Mobs not spawning on key press?

Started by Spyjetray on

Topic category: Troubleshooting, bugs, and solutions

Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mobs not spawning on key press?

So I tried making a mod element where I want 4 mobs to spawn when numpad 7 is pressed when wearing a specific piece of armour but it doesn't work.

This is the code I used.

Can someone explain what has gone wrong?

Thanks.

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it's just because you have…
Mon, 07/08/2019 - 00:16

it's just because you have say to MCreator to check the 3 third slot of armor. In java and other language, you have to start with 0 to have your 1. So, just change your 2 for 1, and you will have your real second slot of armor.