Combat+ Core

Quick rating

Combat+ Core

No reviews yet

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

No Theme
No Genre
Enchantments
Custom Weapons
PvP
API/Library
Mod Loaders
Fabric
Quilt
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
4.0.1+1.21.11
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

About

Description

This is the core library mod and compatibility layer that allows the Combat+ series to function with an extremely high level of inter-mod compatibility.

View the dependents page to see all Combat+ compatible mods.

API Information

The library adds a number of utility methods and interfaces that make it easier to add unique weapons and enchantments to the game.

Any mod that makes use of these will be compatible with the Combat+ series.

Interfaces

  • Melee Weapon
    • Used for any melee weapon.
    • Provides callbacks that trigger for fully charged attacks, critical attacks, and killing.
    • Must implement a damage value.
  • Dual Weapon
    • Inherit from Melee Weapon, used for weapons which could be wielded in either hand and may support game-changing offhand enchantments.
    • Additionally contains a method for offhand damage.
  • CPCEnchantment
    • Offers hooks for enchantments to perform actions for fully charged hits, critical hits, and killing.
    • Offers a more advanced version of damage, where an enchantment of any slot can contribute to the damage bonus.

Enchantment Types

An item can only have one enchantment of each category (not including offhand enchantments).

  • Additional Damage
    • A more advanced version of vanilla damage enchantments.
    • Any enchantment technically can increase damage, but this should mostly be done by Additional Damage enchantments unless there is a special circumstance.
    • Additionally incompatible with vanilla's Damage Enchantments.
  • Weapon Utility
    • Enchantments that add some additional utility function to a weapon, or otherwise enhance its existing effects.
    • Sweeping Edge would be a Weapon Utility.
  • Aspect
    • Enchantments that modify the state of the user or the target on hit.
    • Fire Aspect would (obviously) be an Aspect.
  • Offhand
    • A misc group that is intended to apply to offhanded weapons.
    • Largely incompatible with the other groups.

Datapack Information

To improve compatibility with mods outside of the Combat+ ecosystem, a series of datapack tags are available.
These tags are considered in various features of Combat+, such as eligibility for enchantments.

Item Tags

  • combat-plus:melee_weapon
    • These items are considered unimplemented Melee Weapons and will be eligible for enchantments that target Melee Weapons.
  • combat-plus:dual_weapon
    • This tag is included in the melee weapon tag.
    • These items will be considered unimplemented dual weapons and will be eligble for relevant enchantments.
  • combat-plus:breaks_shields
    • These items can break shields.

Enchantment Tags

There is a corresponding tag for each enchantment type. This can be used by other modders or modpack makers to categorise other enchantments into the four groups.

Combat+ enchantments will be incompatible with enchantments that are in the same tag as their group. For example a Weapon Utility enchantment is incompatible with any enchantment in the combat-plus:weapon_utility tag.

Game Rules

Combat+ Core adds two additional gamerules to modify vanilla weapon mechanics.

  • keepLoyaltyTridents
    • When true, loyalty tridents will not leave the inventory when thrown, nor can they be picked up or return to the thrower. Instead tridents will go on cooldown. Higher levels of loyalty will decrease the cooldown.
  • sweepingRequiresEnchantment
    • When true, the sweeping effect of a sword will only occur if the sword has the Sweeping Edge enchantment. This allows the player to decide whether sweeping should be considered a native property of the sword, or the product of an enchantment.

Combat+ Core

Combat+

This is the core library mod and compatibility layer that allows the Combat+ series to function with an extremely high level of inter-mod compatibility.

View the collection on Modrinth here.

API Information

The library adds a number of utility methods and interfaces that make it easier to add unique weapons and enchantments to the game.

Any mod that makes use of these will be compatible with the Combat+ series.

Interfaces

  • Melee Weapon
    • Used for any melee weapon.
    • Provides callbacks that trigger for fully charged attacks, critical attacks, and killing.
    • Must implement a damage value.
    • Dual Weapon
      • Inherit from Melee Weapon, used for weapons which could be wielded in either hand and may support game-changing offhand enchantments.
      • Additionally contains a method for offhand damage.
    • CPCEnchantment
      • Offers hooks for enchantments to perform actions for fully charged hits, critical hits, and killing.
      • Offers a more advanced version of damage, where an enchantment of any slot can contribute to the damage bonus.

Enchantment Types

An item can only have one enchantment of each category (not including offhand enchantments).

  • Additional Damage
    • A more advanced version of vanilla damage enchantments.
    • Any enchantment technically can increase damage, but this should mostly be done by Additional Damage enchantments unless there is a special circumstance.
    • Additionally incompatible with vanilla's Damage Enchantments.
    • Weapon Utility
      • Enchantments that add some additional utility function to a weapon, or otherwise enhance its existing effects.
      • Sweeping Edge would be a Weapon Utility.
    • Aspect
      • Enchantments that modify the state of the user or the target on hit.
      • Fire Aspect would (obviously) be an Aspect.
    • Offhand
      • A misc group that is intended to apply to offhanded weapons.
      • Largely incompatible with the other groups.

Datapack Information

To improve compatibility with mods outside of the Combat+ ecosystem, a series of datapack tags are available.
These tags are considered in various features of Combat+, such as eligibility for enchantments.

Item Tags

  • combat-plus:melee_weapon
    • These items are considered unimplemented Melee Weapons and will be eligible for enchantments that target Melee Weapons.
    • combat-plus:dual_weapon
      • This tag is included in the melee weapon tag.
      • These items will be considered unimplemented dual weapons and will be eligble for relevant enchantments.
    • combat-plus:breaks_shields
      • These items can break shields.

Enchantment Tags

There is a corresponding tag for each enchantment type. This can be used by other modders or modpack makers to categorise other enchantments into the four groups.

Combat+ enchantments will be incompatible with enchantments that are in the same tag as their group. For example a Weapon Utility enchantment is incompatible with any enchantment in the combat-plus:weapon_utility tag.

Game Rules

Combat+ Core adds two additional gamerules to modify vanilla weapon mechanics.

  • keepLoyaltyTridents
    • When true, loyalty tridents will not leave the inventory when thrown, nor can they be picked up or return to the thrower. Instead tridents will go on cooldown. Higher levels of loyalty will decrease the cooldown.
    • sweepingRequiresEnchantment
      • When true, the sweeping effect of a sword will only occur if the sword has the Sweeping Edge enchantment. This allows the player to decide whether sweeping should be considered a native property of the sword, or the product of an enchantment.
    • pvpEnchantmentModifier
      • Damaging enchantments can use the combat-plus:gamerule_damage component instead of vanilla's damage component. Damage of this type will be multiplied by this gamerule's value when dealt against players. This is for PvP balancing.
    • lethalPoison
      • When true, poison will be able to kill players and mobs instead of leaving them on half a heart.

Showcase Video

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~360,000
Total Downloads
CurseForge
~240,000
Modrinth
~120,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works