Wiki 9Minecraft Wiki 9Minecraft
Fx Control Wiki › Guides › Apply Potion Effects Based on Player Location

Apply Potion Effects Based on Player Location

Setting Up Location-Based Effects

Use the effects.json file to automatically grant potion effects when players enter specific dimensions, biomes, or stand on particular blocks.

How to Configure

1. Open config/rfcontrol/effects.json

2. Create a new rule with conditions matching your desired location. Conditions can include:

  • dimension: Target specific dimensions
  • biome: Apply effects in certain biomes
  • block: Trigger when standing on specific blocks
  • time: Combine with time-of-day conditions

3. In the effects section, specify which potion effects to apply and their duration

4. Save the file and reload your world

Example Use Cases

  • Grant Night Vision in dark biomes or caves
  • Apply Slowness when standing in water or specific terrain
  • Give Speed Boost on certain block types
  • Stack multiple effects for complex scenarios

Effects apply automatically when conditions are met and remove when the player leaves the triggering area.