跳到正文

TimelessLib

作者:BouncingElf10

A lib for all things time!

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

TimelessLib

A lightweight time & animation utility library for Fabric (and maybe forge to come)

Features

  • Animation System
  • Double channels
  • Vec3 channels
  • Easings
  • Interpolation system
  • Cooldowns
  • Countdowns
  • Scheduler
  • Time Utils
  • Time Anchors
  • Time Conversions
  • Time Formatter
  • Time Parser
  • Real time / Game time system
  • Respects pausing in singleplayer
  • Duration class that includes ticks

Installation (for developers)

Add these to your project (no dependencies needed!)

repositories (build.gradle)

repositories {
    maven {
        name = "Modrinth"
        url = "https://api.modrinth.com/maven"
    }
}

dependencies

dependencies {
    modImplementation "maven.modrinth:timelesslib:${project.timelesslib_version}"
}

gradle.properties

timelesslib_version=VERSION

You can check the version of timelesslib on the versions tab or in the dropdown below:

Click to expand version list

| TimelessLib Version | Minecraft Versions | Loader |
| ——————————– | —————————- | —— |
| 2.0.1-fabric-26.3 | 26.3 | Fabric |
| 2.0.1-fabric-26.2 | 26.2 | Fabric |
| 2.0.1-fabric-26.1.x | 26.1.x | Fabric |
| 2.0.1-fabric-1.20.5-1.21.11 | 1.21–1.21.11 / 1.20.5–1.20.6 | Fabric |
| 2.0.1-fabric-1.19.3-1.20.4 | 1.20–1.20.4 / 1.19.3–1.19.4 | Fabric |
| 2.0.1-fabric-1.19-1.19.2 | 1.19–1.19.2 | Fabric |
| 2.0.1-fabric-1.17-1.18.2 | 1.18.x / 1.17.x | Fabric |
| 2.0.1-fabric-1.14-1.16.5 | 1.16.x / 1.15.x / 1.14.x | Fabric |

Documentation

Documentation can be found here and the libary does include Javadoc and an example mod found here.

常见问题

TimelessLib 支持哪些 Minecraft 版本?

TimelessLib 支持 Minecraft Java 版 1.14–26.3,共 48 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

TimelessLib 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

BouncingElf10 的其他作品

查看全部 →