Wiki 9Minecraft Wiki 9Minecraft

Apply Potion Effects Based on Player Location

Java EditionModGuides 4FAQ 19Related mods 48
DownloadFx Control Mod

Get the files on 9Minecraft

Contents (3)
  1. Setting Up Location-Based Effects
  2. How to Configure
  3. Example Use Cases

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.