Skip to content

A Bukkit-like scheduler for Fabric mods.

License

Notifications You must be signed in to change notification settings

nexia-cts/BlfScheduler

 
 

Repository files navigation

BlfScheduler (Bukkit-Like Fabric Scheduler)

A Fabric library mod that allows task scheduling like with Bukkit!
A convenient tool for some types of Minecraft servers.
Tasks are not saved and therefore cancelled upon server stop.

Examples

Delaying a task:

BlfScheduler.delay(20, new BlfRunnable() {
    @Override
    public void run() {
        player.sendMessage(Text.of("This message is delayed 20 ticks!"));
    }
});

Repeating a task:

BlfScheduler.repeat(10, 15, new BlfRunnable() {
    @Override
    public void run() {
        player.sendMessage(Text.of("This message is delayed 10 ticks and repeated every 15 ticks!"));
    }
});

About

A Bukkit-like scheduler for Fabric mods.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%