BlockGiveEffects
作者:rebot | 分类:模组
Minecraft 版本: 1.21.1
平台: neoforge
标签: game-mechanics
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
}
]
}请登录后举报
暂无评论,抢个沙发吧~