Перейти к содержимому
Mineforgian

Fretux's Skill Engine

A framework for making skilltrees

Загрузки
635
Подписчики
1
Обновлён
29 июля 2026 г.
Лицензия
MIT

Опубликован 25 ноября 2025 г.

Skill Engine

Skill Engine is not a standalone progression mod.
It does not add gameplay, attributes, or abilities by itself.

Instead, Skill Engine is a framework designed to let other mods create their own highly customizable skill trees, complete with:

  • Node unlocking
  • Attribute requirements
  • Custom icons
  • Skill point handling
  • Server synchronization
  • Requirements & tooltips
  • Interaction with other progression systems (like Ascend)

If you're looking for a mod that adds skills, this is not it.


Features

JSON-driven Skill Tree System

Mods can register their own skill nodes simply by adding JSON files under:

data/<yourmodid>/skillnodes/*.json

Automatic Node Rendering

Nodes are positioned, displayed, zoomed, panned, and drawn automatically in the Skill Tree GUI.

Icons Support

Use your own textures or vanilla item textures as node icons.

Requirements System

Nodes can specify:

  • Linked nodes
  • Prerequisite attributes
  • Skill costs
  • Custom tags

The UI automatically displays requirements in tooltips and overlays.

Unlock Logic & Sync

Unlocking is fully handled server-side and synced to the client.

Full API Support

Skill Engine includes a public API class that allows other mods to:

  • Give skill points
  • Unlock skill nodes
  • Check unlock state
  • Access player skill data
  • Register or reference nodes

How to Use Skill Engine in Your Mod

Skill Engine is designed to be extremely easy to integrate.

1. Add Skill Engine as a Dependency

In your mods.toml:

[[dependencies.yourmodid]]
    modId="skillengine"
    type="required"
    versionRange="[1.0.0,)"

In your Gradle build:

implementation fg.deobf("net.fretux.skillengine:SkillEngine:<version>")

2. Create Your Skill Nodes (JSON)

Example:

{
  "title": "Basic Strength",
  "description": "You feel your muscles tighten.",
  "cost": 1,
  "position": { "x": -150.0, "y": -50.0 },
  "links": ["skillengine:welcome"],
  "tags": ["yourmodid:strength_1"],
  "icons": "minecraft:textures/item/iron_sword.png",
  "prerequisites": {
    "strength": 10,
    "agility": 5
  }
}

Place this in:

data/yourmodid/skillnodes/basic_strength.json

Skill Engine will automatically detect it and add it to the tree.


3. Use the API in Your Code

Skill Engine exposes a simple API:

SkillEngineAPI.unlockNode(player, SkillEngineAPI.rl("yourmodid", "basic_strength"));
SkillEngineAPI.addSkillPoints(player, 3);
boolean unlocked = SkillEngineAPI.isUnlocked(player, SkillEngineAPI.id("welcome"));

You can interact with the system without touching internal classes.


Skill Engine does nothing by itself.
It does not add a skill tree or abilities on its own.

You only need this mod if:

  • A mod you play depends on Skill Engine
  • You want to install addons that create skill trees

Ченджлог

1.4.6Релиз1.20.1 · 29 июля 2026 г.

Changed

  • Failed unlock attempts now stop at and highlight the directly missing prerequisite instead of silently relying on recursive purchasing.
  • Added an on-screen explanation naming the prerequisite, target node, unmet attribute requirement, or missing skill points.
  • Refreshed the skill tree presentation with a panning grid backdrop, clearer connection lines, framed nodes, stronger hover and selection feedback, a polished skill point header, and bordered detail overlays.
  • Removed the fallback chat message that printed Activated ability: <id> when an ability node had no registered handler.

Fixed

  • Prevented empty ability-slot labels from overlapping their slot names.
  • Highlighted the first blocked prerequisite node after a failed unlock attempt, or the skill-point counter when the planned unlock path costs more points than are available.
1.3.4Релиз1.20.1 · 20 мая 2026 г.
  • Hotfix an issue with loading nodes and such
1.3.3Релиз1.20.1 · 20 мая 2026 г.
  • Unequipped active abilities when the skill tree is reset through Ascend.
  • Fix various issues
1.2.9Релиз1.20.1 · 4 апреля 2026 г.
  • Fixed several server-side crashes caused by API and packet handling paths.
  • Hardened cooldown and skill sync packets against invalid server/client state.
  • Adjusted ability keybind handling to avoid bad-side access.
  • Fix various server-side crashes
1.2.5Релиз1.20.1 · 17 декабря 2025 г.

Implement a number of small fixes and improvements Made it so nodes with different costs have different colors

1.2.4Релиз1.20.1 · 12 декабря 2025 г.

updated to require the newest version of ascendcore

1.2.3Релиз1.20.1 · 10 декабря 2025 г.
  • Added option to add special nodes for active abilities (-> requires a new folder "abilitynodes")
  • Added option to define mutual exclusive nodes
  • Overhauled Core Mechanics to work much faster on client and server
  • Multiple Bug Fixes
1.1.4Релиз1.20.1 · 1 декабря 2025 г.

Fixed 2 small button positioning issues

Комментарии

Загружаем…