跳到正文

TimeScaleLib

A library mod for Minecraft that introduces time scaling (bullet time) functionality.

收藏

介绍

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

TimeScaleLib

TimeScaleLib is a library mod that adds advanced time scaling (bullet time) mechanics to Minecraft.

Unlike the vanilla /tick rate command, this mod only slows down non-player entities and the game world’s time flow, allowing for more natural slow-motion effects while keeping player control responsive.


Features

  • Independent time scaling system
  • Smooth recovery transition support
  • Rendering-compatible PartialTick API
  • Support for applying time scaling to the movement of specified entities
  • Built-in time scaling commands

Compatibility

TimeScaleLib includes compatibility support for several combat and gameplay systems.

Currently compatible with:

Known incompatible mods:

  • None

Commands

Apply Time Scale

/timescale apply <scale> [<duration>] [<transition>] [include <target>]

Applies a time scale effect to the game world.

  • scale: Time scale multiplier (0.0 ~ 1.0)
  • duration: Optional total duration in ticks. Default is -1; when set to -1, the time scale effect lasts indefinitely
  • transition: Optional recovery transition duration in ticks. Default is 20; when set to -1, the transition is applied throughout the entire duration of the time scale effect
  • target: Optional entity whose physical movement will also be affected by time scaling (typically the player). Default is null

Example:

/timescale apply 0.1 120 20

Runs at 10% time speed for 120 ticks and smoothly restores normal speed during the final 20 ticks.


Remove Time Scale

/timescale remove

Removes all active time scale effects.


API

Currently provides:

  • Apply time scale
  • Query current time scale
  • Remove all time scales
  • Access layered PartialTick values

Currently used to provide bullet time effects for ParCoolSkill.

常见问题

TimeScaleLib 支持哪些 Minecraft 版本?

TimeScaleLib 支持 Minecraft Java 版 1.20.1–1.21.11,共 3 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

TimeScaleLib 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

ImmortalDamned 的其他作品

查看全部 →