tome
ModLibrary for creating server-side skills
Type
Mod
Modrinth Downloads
41
Modrinth ID
xA0HAXG9
Last Updated
Apr 12, 2026
Description
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) }Compatibility
Mod Loaders
Game Versions
Similar Mods
Name Tags Always
Makes mob names always visible
Sniffer period
The mod adds the old days when the great lizards of the “sniffing period” still dominated the earth. While Sniffers were...
Happy Ghast Improvements
Happy Ghasts are now quieter and you can boost their speed by feeding them different items
Cobblemon:Crzbrain
CRZbrain is a Kotlin-based Fabric mod for Minecraft/Cobblemon that gives Pokemon an AI-powered brain featuring reinforc...
History Stages
Guide your players through the ages. History Stages lets modpack creators lock items, recipes, dimensions, mobs, loot, a...
Anti Grian Switch Reborn
This is a recreation of the glitch that caused the anti grian switch in Hermitcraft season 9