How to make the player become an effect when he goes to a specific vanilla biome?

Started by FireWorks_CreepeR on Wed, 08/14/2019 - 07:32

Topic category: Help with modding

Last seen on 19:54, 26. May 2020
Joined Jun 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
How to make the player become an effect when he goes to a specific vanilla biome?
Wed, 08/14/2019 - 07:32

I wanted to make in my mod like when you go to a cold biome you get an effect which damages you. Is there a way to do that?

Last seen on 16:49, 31. May 2020
Joined Aug 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Yep. First of all, create a…
Sat, 08/17/2019 - 00:01

Yep. First of all, create a new Procedure. After, choose the event Random player tick (or something like this.). Then, put a if block condition and go into World Data (The second). Finally, you have just to take the block get biome at x y z (nameOfTheBiome). You have just to put the biome you want and to put the effect. Repeat the if for each biome (into the same procedure.).