
TrimsEffect
💎Adds configurable potion effects based on worn armor trims🤩, with smart scaling per trim and zero performance impact🚀.
194
4
Список изменений
============TrimEffects – v1.0.4============
✨ New Features
- Multiple effects per trim are now supported.
- You can assign two or more potion effects to a single armor trim in config.yml.
- Updated configuration format to support effect lists:
🛠 Improvements
- GUI now correctly displays all effects assigned to a trim.
- Config loader updated to safely handle multiple effects per trim.
- Improved internal effect application logic.
Old config.yml
# ============================================================
# TrimEffects Configuration
# ============================================================
# Notes:
# - Trim names MUST be lowercase (registry keys)
# - Potion effects use Bukkit effect names
# - Use "null" to disable an effect for a trim
# - Unknown trims/effects are ignored safely
# ============================================================
# Trims that CANNOT be crafted (optional feature)
un-craftable-trims:
- silence
- vex
effect-scaling:
one-piece-level: 1
two-piece-level: 2
three-piece-level: 2
four-piece-level: 3
# ------------------------------------------------------------
# Trim → Effect mapping
# ------------------------------------------------------------
# Set value to "null" if the trim should do nothing
# ------------------------------------------------------------
trims-effect:
# Paper/Folia/Purper 1.20+
silence: STRENGTH
dune: SPEED
coast: WATER_BREATHING
wild: JUMP
ward: RESISTANCE
eye: NIGHT_VISION
vex: HASTE
tide: DOLPHINS_GRACE
snout: FIRE_RESISTANCE
rib: ABSORPTION
spire: REGENERATION
wayfinder: SATURATION
raiser: STRENGTH
shaper: HASTE
host: HEALTH_BOOST
flow: SPEED
bolt: FAST_DIGGING
# Disabled / cosmetic-only trims (allowed)
sentry: null
gui:
enabled: true
title: "&aTrim Effects"
size: 27
show-scaling: false
New config.yml
# ============================================================
# TrimEffects Configuration
# ============================================================
# Notes:
# - Trim names MUST be lowercase (registry keys)
# - Potion effects use Bukkit effect names
# - Unknown trims/effects are ignored safely
# - Multiple effects per trim are allowed
# ============================================================
# Trims that CANNOT be crafted (optional feature)
un-craftable-trims:
- silence
- vex
effect-scaling:
one-piece-level: 1
two-piece-level: 2
three-piece-level: 2
four-piece-level: 3
# ------------------------------------------------------------
# Trim → Effect mapping
# ------------------------------------------------------------
# Multiple effects are allowed per trim
# ------------------------------------------------------------
trims-effect:
# Paper/Folia/Purper 1.20+
silence:
- STRENGTH
- RESISTANCE # multiple effects allowed
dune:
- SPEED
coast:
- WATER_BREATHING
wild:
- JUMP
ward:
- RESISTANCE
eye:
- NIGHT_VISION
vex:
- HASTE
tide:
- DOLPHINS_GRACE
snout:
- FIRE_RESISTANCE
rib:
- ABSORPTION
spire:
- REGENERATION
wayfinder:
- SATURATION
raiser:
- STRENGTH
shaper:
- HASTE
host:
- HEALTH_BOOST
flow:
- SPEED
bolt:
- FAST_DIGGING
sentry: [] # no effects, cosmetic only allowed
gui:
enabled: true
title: "&aTrim Effects"
size: 27
show-scaling: false
settings:
milk-consume: true # if true, milk will not remove trim effects
Файлы
GsTrimsEffect-1.0.4.jar(14.01 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.0.4
Загрузчики
FoliaPaperPurpur
Версии игры
1.20–1.21.11
Загрузок
15
Дата публикации
1 мес. назад
