Help with the player getting damage if not wearing armor in custom dimension

Started by klocek on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with the player getting damage if not wearing armor in custom dimension

Hello, im making a mod that adds a custom dimension and i want to add this thing that if you go into the dimension without the special armor you will start getting damage. I found an old forum post that showed how to do it but its outdated and i cant get it to work anymore. Can anyone pls help? (:

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use Global trigger On Player…
Fri, 01/14/2022 - 02:26

Use Global trigger On Player Tick Update

Then check if the player wears the armor then deal damage

It should look like this

The procedure should look like this

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh wait. Add a "not"…
Fri, 01/14/2022 - 02:28

Oh wait. Add a "not" procedure block in the if statement.

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you ClOud1076
Fri, 01/14/2022 - 16:42

Thank you ClOud1076