Everything To Do With Potions (ETDWP)

插件

· 作者 neovimMan

对原版药水行为的全面重制。

0 本站下载 0 关注 更新于 2 个月前

最新 1.0.0 · 1.21.11 · Paper / Spigot

一键开服(送7天)

一切与药水相关 ETDWP

创作者:neovimMan

平台:Minecraft Java Edition 1.21+ Paper / Spigot

最新版本:1.0.0

这是一个模组,用于修改特定的原版药水/酿造行为,以适应你服务器的需求。

行为 1:延长强力持续时间

功能说明: 延长强力/升级版药水的持续时间

  • 将配置好的二级(“强力”)药水的持续时间增加到指定值
    • 例如,在原版中,力量 II 药水的持续时间上限为 1:30。行为 1 允许你随意增加或减少该持续时间。
      • 默认情况下,strength-2、speed-2 和 weaving 药水的持续时间被延长至 8:00。

行为 2:药水禁用器

功能说明: 完全禁用某些药水,使其无法再被酿造,且任何现有的副本或掉落物都无法被饮用或投掷。

  • 通过 config.yml 添加你想要禁用的任何药水。你可以添加任何类型的药水,无论是 potent(强力)还是 long(持续时间延长)。

行为 3:药水强度禁用器

功能说明: 完全禁用指定的二级/升级(potent/upgraded)药水类型,使其无法被酿造、饮用或投掷。

  • 完全禁用列表中列出的药水的二级 potent 版本:它们不再能被酿造,现有的副本也无法再被饮用或投掷。基础和延长版本保持不变。

行为 4:药水堆叠器

功能说明: 允许指定的药水类型堆叠数量超过原版的 1 个限制,达到特定数值。

  • 这包括所有药水类型,无论是 potent 还是 long。

行为 5:酿造速度

功能说明: 允许你修改原版的酿造时间。

  • 默认为 20 秒,你可以增加或减少它。

config.yml

# ============================================================================
#  Everything To Do With Potions — config.yml
#  Creator: neovimMan
#  Platform: Minecraft Java Edition 1.21.11 (Paper / Spigot)
#
#  Reload changes at runtime with:  /etdwp reload
# ============================================================================

# ----------------------------------------------------------------------------
#  POTION ID FORMAT  (used by Behaviors 1 - 4)
# ----------------------------------------------------------------------------
#  A potion is identified by its registry key — the id stored in the item's
#  `minecraft:potion_contents` data component. It follows one of three forms:
#
#      <effect>          base potion                 e.g. strength
#      long_<effect>     redstone-extended version   e.g. long_strength
#      strong_<effect>   level-II "potent" version   e.g. strong_strength
#
#  One key covers ALL forms of that potion at once — regular, splash, and
#  lingering.
#
#  Available <effect> keys:
#      strength  swiftness  slowness  leaping  poison  regeneration
#      healing   harming    weakness  night_vision  invisibility
#      water_breathing  fire_resistance  slow_falling  luck  turtle_master
#      infested  oozing  weaving  wind_charged
#
#  Potions with a base variant only (no long, no strong):
#      infested  oozing  weaving  wind_charged  luck
#
#  Potions with a potent (strong) variant:
#      strong_harming  strong_healing  strong_leaping  strong_poison
#      strong_regeneration  strong_slowness  strong_strength  strong_swiftness
#      strong_turtle_master
# ----------------------------------------------------------------------------

# ----------------------------------------------------------------------------
#  BEHAVIOR 1 — Extend potent potion durations
#  Increases the duration of the configured level-II ("potent") potions to the
#  value below, equivalent to how long that potion would last if brewed with
#  redstone instead.
# ----------------------------------------------------------------------------
behavior-1-extend-potent-durations:
  enabled: true

  # New duration for every potion listed below. Format as mm:ss ("8:00") or a
  # plain number of seconds (480). Default: 8:00.
  potent-potion-duration: "8:00"

  # Potions whose duration is extended to `potent-potion-duration`.
  # By default only regular/splash Strength, Speed, and Weaving are set.
  # Weaving has no level-II form, so it is listed by its base key.
  #
  # To add more, append keys such as:
  #     strong_poison
  #     strong_regeneration
  #     strong_leaping
  extended-potions:
    - strong_strength
    - strong_swiftness
    - weaving

# ----------------------------------------------------------------------------
#  BEHAVIOR 2 — Potion Disabler
#  Completely disables the listed potions: they can no longer be brewed, and
#  any existing copies can no longer be drunk or thrown.
# ----------------------------------------------------------------------------
behavior-2-potion-disabler:
  enabled: true

  # Potion keys to fully disable. Empty by default.
  #
  # To add a key to the list, remove the brackets '[]', press 'enter' to add a line,
  # press 'tab' to indent, add a dash '-', a space ' ', and then the potion key.
  #
  # Examples:
  #     disabled-potions:
  #       - strong_strength
  #       - long_poison
  #       - infested
  disabled-potions: []

# ----------------------------------------------------------------------------
#  BEHAVIOR 3 — Potion Potency Disabler
#  Completely disables the level-II ("potent") version of the listed potions:
#  they can no longer be brewed, and existing copies can no longer be drunk
#  or thrown. The base and extended versions are left untouched.
# ----------------------------------------------------------------------------
behavior-3-potion-potency-disabler:
  enabled: true

# 禁用强力药水键值列表。默认为空。
  #
  # 要将某个键值添加到列表中,请移除方括号 '[]',按 'Enter' 添加新行,
  # 按 'Tab' 进行缩进,然后输入短横线 '-'、空格 ' ' 以及药水键值。
  #
  # 示例:
  #     disabled-potent-potions:
  #       - strong_strength
  #       - strong_swiftness
  disabled-potent-potions: []

# ----------------------------------------------------------------------------
#  行为 4 — 药水堆叠器
#  允许列出的药水量超过原版 1 的堆叠上限。
# ----------------------------------------------------------------------------
behavior-4-potion-stacker:
  enabled: true

  # 药水键值 -> 最大堆叠数量的映射表。
  #
  # 要将某个键值添加到列表中,请移除花括号 '{}',按 'Enter' 添加新行,
  # 按 'Tab' 进行缩进,然后输入药水键值,后跟冒号 ':',最后是
  # 该键值对应的数值。
  #
  # 示例:
  #     stack-sizes:
  #       strong_strength: 16
  #       weaving: 64
  #       swiftness: 8
  stack-sizes: {}

# ----------------------------------------------------------------------------
#  行为 5 — 酿造速度
#  改变熔炉完成每次酿造操作的速度。
# ----------------------------------------------------------------------------
behavior-5-brew-speed:
  enabled: true

  # 应用于原版 20 秒酿造时间的乘数。
  #   1.0  = 原版 (20秒)
  #   1.5  = 慢一半 (15秒)
  #   2.0  = 快一倍 (10秒)
  #   0.5  = 慢一半 (40秒)
  brew-speed-multiplier: 1.0

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源