Compatibility
Minecraft: Java Edition
1.21.1
Platforms
Supported environments
Server-side
Singleplayer
Links
Tags
Creators
Details
Licensed MIT
Published 3 months ago
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
}
]
}


