When player dies with certain armor piece on

Started by plybot on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When player dies with certain armor piece on

So I'm trying to make a chestplate spawn 1 wither skeleton and 2 vex when you die (with the chestplate equipped), but when worn, the chestplate spawns the mobs every second. How can I fix this?

The procedure is on the chestplate.

code vvv

https://imgur.com/a/KNGCCtX

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello! I think I know what…
Sun, 08/14/2022 - 12:55

Hello! I think I know what the issue is. You have put the procedure on armor tick update (or something like that) which makes it execute every second the chestplate is on the player.

 

To fix it, you need to do the following:

2 - Make a new procedure (which isn't correlated with the chestplate)

3 - Make the procedure look like this:

 

procedure

 

Hopefully that gets it fixed!

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ohhhhh thank you very much :)
Mon, 08/15/2022 - 07:51

ohhhhh
thank you very much :)