Combat+ Core

Combat+ Core

Mod

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

Client and server EquipmentGame MechanicsLibraryUtility

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

3.0.0+1.21

Changelog

Major patch to finally bring Combat+ into the world of 1.21, this update completely rewrites literally everything that even remotely interacted with enchantments.

For obvious reasons, version 3.0.0 contains breaking changes for almost everything.

Brief Overview

Yes, this is the brief version...
Check Github for the full details.

Additions

  • Combat+ Core now reveals LilyLib to dependent mods.
    • LilyLib was already bundled in the jar, it's just made available now.
    • LilyLib patch notes will be included in Combat+ patch notes.
  • Added several new enchantment components types:
    • combat-plus:post_charged_attack
    • combat-plus:post_critical_attack
    • combat-plus:post_kill
    • combat-plus:bonus_damage
      • So items that are not the primary weapon can increase damage too.
    • combat-plus:gamerule_damage
      • Damage dealt against players is modified by the new gamerule.
      • This allows for world-based PvP balancing.
  • New gamerule that modifies enchantment damage effectiveness against players.
    • Extra Damage Enchantments and Extended Enchanting both had their seperate versions of this gamerule before. They have been moved into Combat+ now.
  • Added a small library of common effects and conditions for enchantments.
  • Added a new type of enchantment effect: Double Entity Effect
    • This is used by the Combat+ components and allows for effects for consider two entities at once.
  • Added two built-in resource packs:
    • One provides Roman Numerals for enchantments with a level over 10 (up to 255).
    • One replaces Roman Numerals for enchantment levels with plain numbers (up to 255).
  • Vanilla Maces are considered melee weapons by Combat+.
  • Added two new loot functions.

Changes

  • Sharpness, Smite, Bane of Arthropods, and Fire Aspect are now overriden entirely by Combat+ Core to change their supported item tags.
    • Previously a mixin was used to change the tags instead.
    • Smite and Bane of Arthropods use the new combat-plus:gamerule_damage component.
  • The enchantment types of Combat+ (Additional Damage, Offhand, Weapon Utility, Aspect) have been converted into enchantment tags.
  • Combat+ Enchantment Helper methods have different parameters.

Removals

  • The entire old enchanting system. :(

New Features From LilyLib

  • Enchantment datagen provider
  • DamageType datagen provider
  • DamageType tag datagen provider
  • Enchantment Containers
    • Combines a registry key with an enchantment builder. Highly useful for eliminating code duplication if you need to bootstrap your enchantments.
    • Also contains useful utility for getting registry entries of the enchantment.
  • DamageType Containers
    • Combines a registry key with a damage type. Highly useful for eliminating code duplication.
    • Also has utility methods for generating damage sources.
  • Fabric resource condition to only load certain things when in dev mode.

Dependencies

Files

combatplus-core-3.0.0+1.21.jar(227.59 KiB) Primary Download
combatplus-core-3.0.0+1.21-sources.jar(118.97 KiB) Download

Project members

Provismet

Member

Details

Licensed MIT
Published 9 months ago
Updated 2 months ago