tome
A barebone library for creating server-side skills. Provides basic frameworks for skill casting, cooldowns, and containers. Does not include functional features like entity targeting.
Note: Until version 1.0.0, the API may change without prior notice.
Gradle Setup
Kotlin
repositories {
mavenCentral()
}
dependencies {
modImplementation("io.github.kouvali:tome:YOUR_VERSION")
}
Groovy
repositories {
mavenCentral()
}
dependencies {
modImplementation "io.github.kouvali:tome:YOUR_VERSION"
}
Usage
Here's a quick example of skill creation:
Java
Skill<Vec3> exampleSkill = Skill.<Vec3>builder()
.setStateFactory(
SkillStateFactory.alwaysOk(context ->
context.getSource().getForward()
)
)
.setTickBehavior(instance -> {
instance.getSource().setDeltaMovement(instance.getState());
instance.getSource().hurtMarked = true;
})
.setCompleteBehavior(instance -> {
instance.getSource().setDeltaMovement(Vec3.ZERO);
instance.getSource().hurtMarked = true;
})
.setInterruptPredicate(instance ->
!instance.getSource().isInvulnerable()
)
.setDurationProvider(
SkillDurationProvider.constant(20)
)
.build();
Kotlin
val exampleSkill: Skill<Vec3> = Skill {
alwaysOkStateFactory {
source.forward
}
tickBehavior {
source.deltaMovement = state
source.hurtMarked = true
}
completeBehavior {
source.deltaMovement = Vec3.ZERO
source.hurtMarked = true
}
interruptPredicate {
!source.isInvulnerable
}
constantDurationProvider(20)
}
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 26.1.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Verified by MCModsHub
- Ships as tome-0.48.0.jar — drop this file into the mods folder
- Download size: 148 KB
- Download link checked 10 Sept 2026 — working
These come from our own check of the pack file, not from the source page.