Check if player in a biome?

Started by Kirro_YT on

Topic category: General discussion

Last seen on 13:48, 6. Sep 2022
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Check if player in a biome?
Tue, 10/26/2021 - 07:03 (edited)

I want to make a mod that makes the player cold and show the freeze overlay to the player, but I don't know how to check the player in a certain biome. Please help me to make the procedure, I would appreciate any answer.

Edited by Kirro_YT on Tue, 10/26/2021 - 07:03
Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
player tick update global…
Tue, 10/26/2021 - 15:27

player tick update global trigger

if event target entity in biome:BIOME

do (whatever)

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
search Biome on the…
Tue, 10/26/2021 - 15:27

search Biome on the procedures search bar

Last seen on 13:48, 6. Sep 2022
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok thanks RexCerv
Wed, 10/27/2021 - 01:28

Ok thanks RexCerv

Last seen on 15:34, 12. Aug 2023
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But it will constantly run…
Wed, 08/02/2023 - 08:51

But it will constantly run if the player is in the biome, won't it?

How do I know when a player JUST enters a biome.

Last seen on 09:29, 28. Mar 2024
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@ImNotHustled1. Create a…
Mon, 12/18/2023 - 19:29

@ImNotHustled
1. Create a Player persistent logic variable. By default, it should be false.

2. Create Global update trigger.

3. Check if player is in the necessary biome.

4. Check if the variable is currently set to false.

5. If it is, set it to true, and activate your procedure.

6. Out of that "If statement", check if player is not in the necessary biome.

7. If true, set the variable to false.

Last seen on 14:53, 18. Jan 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@AlbertOk1234 Would it be…
Sun, 01/07/2024 - 10:59

@AlbertOk1234

Would it be possible to have a pic to help us understand how it works?