Earlier Versions
| Name | Size | Uploaded | Game Version | Downloads | |
| Combatica Legacy API - beta3 +1 More beta | 31.87 KB | Jul 5, 2019 | 1.12.2 | 1,683 | Download |
| Combatica Legacy API - beta2 +1 More beta | 30.02 KB | Jun 22, 2019 | 1.12.2 | 146 | Download |
| Combatica Legacy API - beta1 +1 More alpha | 19.45 KB | Jun 6, 2019 | 1.12.2 | 334 | Download |
Description
Notice & Letter from Creator
This message is designed to explain the history of Combatica API and mitigate confusion.
Any version of Combatica API built for MC-1.12.2 I will refer to as a legacy version.
Builds for MC-1.16.5 onward will be referred to as the main/rewrite version.
Combatica API was created to support the mod Combatica. That mod and this one were constructed poorly and at a time I did not know what I was doing. Both projects were discontinued when I stopped working with the network Primordial which was the reason Combatica was created.
Legacy builds of this mod will remain up due to their status as a dependency for old builds of Combatica and the Brutalreign modpack.
I am rewriting this mod as well as Combatica for 1.16.5 and wish to see this project's completion.
Forgive my poor first impression, I feel that an API like this could really improve Minecraft and mods as a whole.
This mod's development cycle is intertwined with Combatica's. API builds will follow Combatica's roadmap accordingly.
The API will not be considered semi-finalized until Combatica reaches v0.1.3.x in the future.
I will do my best to keep the API as useful as possible in the development process but until that version the API is largely WIP.
You have been warned. Follow the Combatica project if you want to stay informed.
~ Nano
Combatica API
Description
Combatica API is a library that allows modders to implement various features to spice up combat in their mods.
These features change the way players interact with weapons and armor in the gameplay loop, especially in PvP.
This project is being developed to support the project Combatica and as such the progress on Combatica will reflect in Combatica API.
Please keep in mind this is a work in progress! Feel free to ask questions or join our Discord.
Official Combatica Discord Server
Features and Systems
Weapons: Damage Types and Modified Reach
By far the greatest thing Combatica API has to offer is the damage types and reach implementations.
Using the API modders can assign damage types to their weapons such as slashing, piercing, or blunt damage types.
In situations where damage type is defined such as monsters attacking the player, the basic damage type will be used.
Modders will also be able to take advantage of a modified reach interface where the distance for valid attack can be changed.
It's simple, spears should have higher range than daggers, etc.
Armor: Damage Types, Weight, and Components
Armor controlled by Combatica API is very different than vanilla armor.
The armor using Combatica API has four values applied to it. The first three are resistances and the last is weight.
Resistance values directly relate to damage types. The higher your value is, the weaker that damage type will be against you.
An example is chainmail in Combatica, which has a high slashing resistance. Due to this, a blunt weapon would be more effective in combat.
Weight is optional but the idea is that the higher weight value on the player, the slower that player will move.
This exists for balancing reasons. Having the best protection is great, but it costs you speed.
An additional class exists for armor components. Components can be attached to armor to give it more resistances or weight values.
This is used to create a layering system in Combatica. The base wearable item is a gambeson, and chainmail shirts exist has components not armor.
A lot of that is still being worked out, and will require moving some features from Combatica to the API.
Example Implementations
In Combatica API there are classes that Combatica uses to define its weapon and armor types.
These classes have documentation and will allow you to understand how mods can use the API.
You are free to use this classes as you see fit. There are generic classes you can extend from if needed.
Note that the provided types will be balanced as they are in the Combatica mod.
If you want to balance your weapons and armor like Combatica does, use the provided types.
Combatica API Roadmap
Early Implementations
This project's development coincides with Combatica's. Early builds of Combatica will require early builds of the API.
The API architecture could change a lot during this stage. I try to make changes with as much foresight as possible but these builds are essentially alpha.
Builds will only be released in this stage if Combatica has an update, or there is a critical bugfix.
It is not recommended to develop with these builds as you may have to do heavy refactoring later on.
These builds should be used as a required dependency for Combatica, as that is their intention.
Foundation
Once builds have reached this stage the API for damage types, modified reach, and armor modifiers should be semi-final.
These builds are ready to be used for development. Bugfixes and updates will still be based around Combatica's development.
Expansion
This cycle is started once Combatica has been released and is working as intended.
Damage types, modified reach, armor modification all works and will only be changed for bugfixes.
The foundation builds will still be supported and patched as needed but Combatica API will begin to add in new features.
These features include:
- Skills. These could be bound to items, or obtained from skill trees and applied to character data.
- Damage Type Expansion. Addition of magic damage types to allow balancing with other mods' damage calculation.
- Attribute Expansion. 1.17 has a temperature mechanic, so armor modifiers should be able to support insulation.
Keep in mind that all of this is in the far future and subject to change.
Source Code
Yes, I am aware there is no source code available yet. I will be releasing this very soon.
The project is not in the state where it should be used for development but I will upload code as soon as I feel ready.
Get 0.05 TON 💎
Download


Add a comment