MobEffects
MobEffects 是一款轻量级的、遵循原版风格的 Paper 插件,它扩展了 Minecraft 中蜘蛛生成时可能附带药水效果的原版机制。
在原版 Minecraft 中,蜘蛛有较小几率生成并带有速度、力量、再生或隐身等效果。
MobEffects 将这一理念应用到了其他敌对生物上,且不添加复杂系统或改变核心玩法。
配置驱动设计
MobEffects 完全通过 config.yml 进行配置。
受影响的生物列表及其药水效果均可自由修改。
默认配置以 Zombie、Skeleton 和 Creeper 为例,但这并非硬性限制。
服务器管理员可以:
- 在配置中添加或移除生物
- 更改效果列表和效果等级
- 调整生成几率和效果持续时间
- 在随机应用或固定应用模式之间切换
无需更改代码或重新编译。
默认行为
默认情况下,效果仅在满足以下条件时应用:
- 生物自然生成
- 处于夜间
- 世界难度为普通或困难
- 可配置的生成几率判定成功
该插件不修改生物 AI、属性、伤害掉落或行为——它仅应用药水效果。
默认生物设置
以下生物和效果用于默认配置:
- Zombie — 速度、力量
- Skeleton — 速度、隐身
- Creeper — 反胃、缓慢、失明、虚弱
Zombie 和 Skeleton 的效果几乎是永久的,类似于原版蜘蛛的效果。
Creeper 的效果持续时间为可配置的随机时长(默认为 30–45 秒)。
效果模式
MobEffects 支持两种效果应用模式:
- ALL — 生物获得所有列出的效果
- RANDOM_ONE — 生物获得一个随机效果,如同原版蜘蛛
兼容性
MobEffects 旨在与 Upgraded Mobs 等数据包协同工作。
它不会覆盖或干扰数据包的机制,并通过短暂延迟来应用效果以避免冲突。
设计理念
MobEffects 遵循原首先行的设计理念:
目标是让敌对生物略微多样化,同时仍保持 Minecraft 原版的感觉。
MobEffects
MobEffects is a lightweight, vanilla-inspired Paper plugin that extends the existing Minecraft mechanic where spiders can spawn with potion effects.
In vanilla Minecraft, spiders have a small chance to spawn with effects such as Speed, Strength, Regeneration, or Invisibility.
MobEffects applies the same idea to other hostile mobs, without adding complex systems or altering core gameplay.
Configuration-driven design
MobEffects is fully configurable through config.yml.
Both the list of affected mobs and their potion effects can be freely modified.
The default configuration uses Zombie, Skeleton, and Creeper as examples, but these are not hard-coded limitations.
Server owners can:
- Add or remove mobs from the configuration
- Change effect lists and effect levels
- Adjust spawn chances and effect durations
- Switch between random or fixed effect application modes
No code changes or recompilation are required.
Default behavior
By default, effects are applied only when:
- The mob spawns naturally
- It is night time
- World difficulty is Normal or Hard
- A configurable chance check succeeds
The plugin does not modify mob AI, attributes, damage, drops, or behavior — it only applies potion effects.
Default mob setup
The following mobs and effects are used in the default configuration:
- Zombie — Speed, Strength
- Skeleton — Speed, Invisibility
- Creeper — Nausea, Slowness, Blindness, Weakness
Zombie and Skeleton effects are almost permanent, similar to vanilla spider effects.
Creeper effects last for a configurable random duration (30–45 seconds by default).
Effect modes
MobEffects supports two effect application modes:
- ALL — the mob receives all listed effects
- RANDOM_ONE — the mob receives one random effect, like vanilla spiders
Compatibility
MobEffects is designed to work alongside datapacks such as Upgraded Mobs.
It does not override or interfere with datapack mechanics and applies effects with a short delay to avoid conflicts.
Philosophy
MobEffects follows a vanilla-first design philosophy:
- Simple mechanics
- Predictable behavior
- Minimal performance impact
The goal is to make hostile mobs slightly more varied, while still feeling like part of vanilla Minecraft.
评论 0
登录后参与评分
还没有评论,来抢沙发吧