Skip to content

Releases: Provismet/CombatPlus-Core

4.0.1 - 1.21.11

23 Dec 17:11

Choose a tag to compare

Hotfix update to address a crash found in 1.21.11 after further testing.

Bugfixes

  • [LilyLib] Fixed crash caused by rendering FlatParticles.

4.0.0 - 1.21.11

20 Dec 23:22

Choose a tag to compare

  • Updated to Minecraft 1.21.11

4.0.0 - 1.21.10

16 Oct 23:30

Choose a tag to compare

  • Updated to 1.21.10

4.0.0 - 1.21.5

15 Apr 22:33

Choose a tag to compare

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

26 Jan 20:17

Choose a tag to compare

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

26 Jan 20:10

Choose a tag to compare

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

26 Jan 19:46

Choose a tag to compare

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.1.0 - 1.21.4

05 Dec 21:20

Choose a tag to compare

Changes

  • Updated to 1.21.4 Minecraft.

3.1.0 - 1.21.3

30 Nov 21:54

Choose a tag to compare

Additions

  • [LilyLib] Added an equipment model datagen provider.

Changes

  • Updated to 1.21.3 Minecraft.
  • [LilyLib] Enchantment containers require a entity registry lookup.

1.1.0 - 1.20.4

15 Sep 13:58

Choose a tag to compare

Minor patch to enable a fix for a niche compatibility issue in Dual Swords.

Additions

  • Melee weapons now have a stack-aware version of getWeaponDamage.
  • Dual weapons now have a stack-aware version of getOffhandDamage.