▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Item Coating
Item Coating

Item Coating

A mod that allows applying potion effects to weapons, tools, and armor. Effects trigger on attack, block break, or when taking damage.

256
3
Все версииItem Coating 2.0.1

Item Coating 2.0.1

Release1 мес. назад

Список изменений

Added - Logging System

  • Centralized Logger: New ItemCoatingLogger utility class using SLF4J
    • Replaces all System.out.println and System.err.println calls
    • Provides info(), warn(), error(), and debug() methods
    • Debug messages only shown when enabled in config
  • Debug Configuration: New debug config section
    • enableDebugLogging - enable detailed debug logging (default: false)
    • Useful for troubleshooting coating application and loot generation

Added - Force Hit-Based Mode

  • Force All Hit-Based: New option to convert all long-duration effects to hit-based
    • Available in coating, armorCoating, and toolCoating sections
    • forceAllHitBased - convert all effects to hit-based (default: false)
    • Effects ≤20 ticks (1 second) always remain hit-based with 1 hit
    • Effects >20 ticks converted using customizable formula
  • Duration to Hits Formula: Configurable formula for converting duration to hits
    • durationToHitsFormula - formula with {duration} variable (default: "{duration} / 200")
    • Default gives 1 hit per 10 seconds of potion duration
    • Examples:
      • "{duration} / 200" - 1 hit per 10 seconds (default)
      • "{duration} / 100" - 1 hit per 5 seconds
      • "{duration} / 20" - 1 hit per second
      • "5 + ({duration} / 200)" - base 5 hits + 1 per 10 seconds
    • Minimum 1 hit guaranteed (formula result clamped)
  • Formula Parser Enhancement: New evaluateWithDuration() method for duration conversion

Changed

  • Config Registration: Changed from RegisterType.CLIENT to RegisterType.BOTH
    • Enables proper client-server synchronization
    • Fixes dedicated server compatibility issues
  • Mixin Configuration: Moved ItemStackMixin from common to client-only
    • Fixes "Attempted to load class I18n for invalid dist DEDICATED_SERVER" error
    • Prevents client-only classes from loading on dedicated servers

Fixed

  • Dedicated Server Crash: Fixed crash when loading on Forge dedicated servers
    • Issue: ItemStackMixin was loading client-only I18n class on server
    • Solution: Properly separated client and server mixins
  • Logging Spam: Reduced console spam by moving verbose messages to debug level
    • Loot generation details now only shown with enableDebugLogging = true
    • Coating application details now only shown with enableDebugLogging = true

Файлы

itemcoating-forge-2.0.1.jar(186.47 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

2.0.1

Загрузчики

Forge

Версии игры

1.20.1

Загрузок

49

Дата публикации

1 мес. назад

Загрузил

ID версии

Главная