跳到正文

World Buffs

作者:Nanoh

Adds dynamic, server-wide buffs triggered by mob kills that temporarily modify core gameplay stats like damage, mining speed, and experience gain.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

World Buffs

World Buffs adds a global modifier system that affects all players on the server. These modifiers are triggered dynamically during gameplay and change how combat, progression, and resource gathering behave.

The system is designed to be simple, consistent, and configurable, while still introducing variability into normal gameplay.


Overview

When a mob dies, there is a configurable chance that a world buff will be triggered. A buff applies a multiplier to a specific stat and affects all players simultaneously.

The following stat types are currently supported:

  • Damage dealt
  • Damage resistance
  • Critical hit multiplier
  • Mining speed
  • Experience gain

Each buff:

  • Applies globally
  • Has its own independent duration
  • Uses a multiplier value within a configurable range

If a new buff is rolled for a stat that already has an active buff:

  • If the new value is higher, it replaces the existing buff and resets the timer
  • If the new value is lower or equal, it only refreshes the timer

Behavior

  • Buffs are triggered on entity death
  • Buff selection is random
  • Buff values are generated between configured minimum and maximum values
  • Each buff tracks its own duration independently
  • Buff timers are processed once per second
  • Expired buffs reset back to a neutral multiplier (1.0)

All changes are applied through event hooks, ensuring compatibility with vanilla systems and most other mods.


In-Game Messages

Players are notified when buffs are applied and when they expire.

Example activation message:

World Buff Activated: Damage = 2.35x

Example expiration message:

World Buff expired: Damage

Configuration

All options are available in the server configuration file.

  • worldBuffInitChance
    Controls the chance that a buff is triggered when a mob dies.
  • worldBuffMinMultiplier
    The minimum multiplier value a buff can roll.
  • worldBuffMaxMultiplier
    The maximum multiplier value a buff can roll.
  • worldBuffRollAmount
    A scaling value used when calculating multiplier ranges.
  • worldBuffDurationSeconds
    Duration of each buff in seconds.

Notes

  • Buffs are global and affect all players equally
  • Buffs do not stack; each stat has a single active modifier at a time
  • The system is deterministic and fully controlled by configuration values

Compatibility

This mod does not replace core mechanics. It modifies values through event handling, which keeps it compatible with most gameplay and content mods.

常见问题

World Buffs 支持哪些 Minecraft 版本?

World Buffs 支持 Minecraft Java 版 26.1–26.1.2,共 3 个版本,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

World Buffs 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Nanoh 的其他作品

查看全部 →