Hardcore mode procedure/limited lives

Started by _Syntax_3rror_ on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined Aug 2022
Points:
455

User statistics:

  • Modifications: 0
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 30
Hardcore mode procedure/limited lives

Is it possible to make a procedure so when a player enters a certain dimension their mode is changed to hardcore or they have limited lives?

Active 1 year ago
Joined Aug 2022
Points:
455

User statistics:

  • Modifications: 0
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 30
Can someone please answer?
Sat, 08/13/2022 - 15:17

Can someone please answer?

Active 2 years ago
Joined Feb 2022
Points:
652

User statistics:

  • Modifications: 0
  • Forum topics: 18
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 158
Use a integer variable. Make…
Sat, 08/13/2022 - 17:32

Use a integer variable. Make sure to make it player-persistent.

First procedure: https://imgur.com/3Kg7XgO

Change the "end" procedure block to your custom dimension, it is found in minecraft components tab, just look for the color. Replace the variable with your variable. 

Second procedure: https://imgur.com/laVZb6g

"Provided dimension type" block is also found in minecraft components tab. And "Cancel event that triggered global trigger" is in advanced procedure blocks tab.

Active 1 year ago
Joined Aug 2022
Points:
455

User statistics:

  • Modifications: 0
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 30
I can't find the get global…
Thu, 08/18/2022 - 14:21

I can't find the get global or set global blocks

Active 2 years ago
Joined Feb 2022
Points:
652

User statistics:

  • Modifications: 0
  • Forum topics: 18
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 158
In custom variables tab
Thu, 08/18/2022 - 17:27

In custom variables tab

Active 1 year ago
Joined Aug 2022
Points:
455

User statistics:

  • Modifications: 0
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 30
sorry, it doesn't say set…
Thu, 08/18/2022 - 20:54

sorry, it doesn't say set global or anything only "get" [blank]

Active 2 years ago
Joined Feb 2022
Points:
652

User statistics:

  • Modifications: 0
  • Forum topics: 18
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 158
You're doing it right. But…
Thu, 08/18/2022 - 22:57

You're doing it right. But you have to make a global variable first. Go back to the main mcreator screen(with all your elements), go to variables tab on the left and make a variable. Make sure to make this one an integer and make it player-persistent.

Active 2 years ago
Joined Feb 2022
Points:
642

User statistics:

  • Modifications: 1
  • Forum topics: 13
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 160
That is correct
Mon, 08/22/2022 - 12:27

That is correct