Моды/Combat+ Core
Combat+ Core

Combat+ Core

The core library and compatibility layer for the Combat+ series.

72.6K
48

4.0.0+1.21.10

release16 октября 2025 г.
  • Updated to 1.21.10

4.0.0+1.21.5

release15 апреля 2025 г.

Major update to make the library compatible with 1.21.5

Additions

  • New item data components:
    • combat-plus:melee_weapon
      • Holds two floats, weapon damage and offhand damage.
      • All Melee and Dual weapons are expected to use this data component.
      • Combat+ mods can use this component to acquire damage values for callbacks (interface values from MeleeWeapon should always be preferred).
    • combat-plus:cooldown_group
      • Takes an identifier and sets what group the item should use when on cooldown.
    • combat-plus:max_use_time
      • Determines how many ticks an item can be used for.
      • This component was moved from Dual Swords.
  • New enchantment component type: data component enchantment effects!
    • Enchantments can grant temporary data components to items.
    • The component is added when the item is enchanted and lost when the enchantment is removed.
    • Currently supports:
      • Cooldown Group
      • Max Use Time
      • Blocks Attacks
  • New attribute: Protection Effectiveness
    • Treated as a multiplier, this determines how effective protection enchantments are on the entity.
    • Default value of 1 (normal effectiveness).

Changes

  • Callbacks for blocking attacks now accept a damage source instead of the attacking entity.

Bugfixes

  • Tridents are no longer unbreakable with KeepLoyaltyTridents.
  • When using KeepLoyaltyTridents, only tridents with Loyalty will go on cooldown.

3.2.0+1.21.4

release26 января 2025 г.

Minor update to add the groundwork for a shield-related features.

Additions

  • Added new class for easily executing callbacks from an item.
  • Added new interface, BlockingItem.
    • Items with the ability to block attacks should implement this interface.
    • It contains methods that allow the item to configure the nature of its blocking.
      • Cooldown duration when disabled.
      • How many ticks the item must be used for until it is actively blocking attacks.
      • Callbacks
        • Damaging the shield.
        • Post-block actions.
  • Added enchantment callback for post-block actions.
  • Added enchantment context (for conditions) for post-block actions.
    • In this context, the target is the owner of the enchanted item, the one who blocked the attack.
  • Added debug shield item and debug blocking enchantment for developers.
  • [LilyLib] Enchantment descriptions now also generate a .description key as well as the existing .desc key.

3.2.0+1.21.3

release26 января 2025 г.

Minor update to add the groundwork for a shield-related features.

Additions

  • Added new class for easily executing callbacks from an item.
  • Added new interface, BlockingItem.
    • Items with the ability to block attacks should implement this interface.
    • It contains methods that allow the item to configure the nature of its blocking.
      • Cooldown duration when disabled.
      • How many ticks the item must be used for until it is actively blocking attacks.
      • Callbacks
        • Damaging the shield.
        • Post-block actions.
  • Added enchantment callback for post-block actions.
  • Added enchantment context (for conditions) for post-block actions.
    • In this context, the target is the owner of the enchanted item, the one who blocked the attack.
  • Added debug shield item and debug blocking enchantment for developers.
  • [LilyLib] Enchantment descriptions now also generate a .description key as well as the existing .desc key.

3.2.0+1.21

release26 января 2025 г.

Minor update to add the groundwork for a shield-related features.

Additions

  • Added new class for easily executing callbacks from an item.
  • Added new interface, BlockingItem.
    • Items with the ability to block attacks should implement this interface.
    • It contains methods that allow the item to configure the nature of its blocking.
      • Cooldown duration when disabled.
      • How many ticks the item must be used for until it is actively blocking attacks.
      • Callbacks
        • Damaging the shield.
        • Post-block actions.
  • Added enchantment callback for post-block actions.
  • Added enchantment context (for conditions) for post-block actions.
    • In this context, the target is the owner of the enchanted item, the one who blocked the attack.
  • Added debug shield item and debug blocking enchantment for developers.
  • [LilyLib] Enchantment descriptions now also generate a .description key as well as the existing .desc key.

Совместимость

Minecraft: Java Edition

1.20–1.21.10

Платформы

Поддерживаемые окружения

Клиент и сервер

Создатели

Детали

Лицензия:MIT
Опубликован:1 год назад
Обновлён:2 недели назад
Главная