Dimension Damages Player when Entered

Started by MrCreeps on

Topic category: Help with modding (Java Edition)

Last seen on 20:50, 7. Apr 2024
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Dimension Damages Player when Entered

For a new mod I need a procedure that damages a player with void damage (avoids armor) if they enter a dimension. The damage must repeat until they die. Thanks in advance.

Use player tick global…
Fri, 04/24/2020 - 16:37

Use player tick global trigger and check if current dimension of player is your dimension and deal damage to the player.

Last seen on 20:50, 7. Apr 2024
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank you! Can this be used…
Fri, 04/24/2020 - 21:26

thank you! Can this be used with the  "if/do"?

Yes, you will need if for…
Sat, 04/25/2020 - 07:25

Yes, you will need if for this.

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei

I know these tutorials do not directly address this, but will help you understand how procedures work better.