BlockGiveEffects
ModMIT

BlockGiveEffects

A mod that adds different poiton effects on players when close to any configured blocks

44
Downloads
0
Followers
2 months ago
Updated
📦
1
Versions

📖About BlockGiveEffects

A simple mod that make certain blocks give potion effects to players near by.

When players close to the blocks configured. Players will get effects.The type of effects depends on the configuration.
If there are multiple blocks configured close to the players in certain range. Players will get multiple effects from each blocks in the certain range.

The global range of block detection,global check intervals and the effect type blocks can give are all configurable in

config/blockgiveeffects.json

configuration file format:

{
  "globalRange": 3.0,  //The range block can give players effects.
  "checkInterval": 20, //The frequentancy of player detection.
  "entries": [
    {
      "targetBlock": "minecraft:cake",
      "effectId": "minecraft:regeneration",
      "duration": 200,
      "amplifier": 0
    }
  ]
}