Skip to content

tome

Library for creating server-side skills

Fabric
Loaders
Fabric
Downloads on Modrinth
298
Followers on Modrinth
1
versions
13
Updated
May 8, 2026May 8
Published
in 2026
This is a library — other mods need it, and it adds nothing to the game by itself

At a glance

A library: other mods need it
Runs on Fabric
For Minecraft 1.21.11–26.1.2
Server only — players don't need to install it
Latest version — 0.48.0 from May 8, 2026
Requires Fabric API
Where it's needed
In gamenot neededOn serverrequired

Install on the server only; players don't need it

Game versions1.21.11–26.1.2

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)
}

FAQ

How to install tome?

Install Fabric for your Minecraft version, download tome for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does tome support?

tome has builds for Minecraft 1.21.11–26.1.2.

Is tome needed on the server?

Server only — players don't need to install it

License and source
Apache License 2.0free to use and share with credit to the author
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More