Язык

TimeScaleLib

TimeScaleLib

Modrinth

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

942 загрузок 1 подписчиков обновлено 20d ago
Modrinth
Neoforge 1.21.1 – 1.21.11 Game-mechanicsLibraryUtility

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:

Leawind's camera interpolation system heavily diverges from Minecraft's vanilla rendering and interpolation framework, making reliable compatibility with TimeScaleLib impractical.
Because of this architectural difference, compatibility support for it is not planned.


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.

Версии

История версий недоступна. Нажми «Скачать», чтобы получить последнюю версию с источника.

Комментарии 0

Пока нет комментариев. Будь первым, кто поделится мнением.

Скачать TimeScaleLib

Файлы отдаются напрямую с первоисточника. Modgrid не хранит и не изменяет их.