Combat+ Core

Combat+ Core

Mod

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

Client and server EquipmentGame MechanicsLibraryUtility

55.1k downloads
34 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

4.0.0+1.21.5

Changelog

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.

Dependencies

Files

combatplus-core-4.0.0+1.21.5.jar(286.58 KiB) Primary Download
combatplus-core-4.0.0+1.21.5-sources.jar(146.78 KiB) Download

Project members

Provismet

Member

Details

Licensed MIT
Published a year ago
Updated 3 months ago