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

Started by klocek on Thu, 01/13/2022 - 18:34

Topic category: Help with modding (Java Edition)

Last seen on 18:01, 3. May 2022
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Help with the player getting damage if not wearing armor in custom dimension
Thu, 01/13/2022 - 18:34

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? (:

Last seen on 03:13, 28. May 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 03:13, 28. May 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 18:01, 3. May 2022
Joined Jan 2022
Points:

User statistics:

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

Thank you ClOud1076