Back to mods
Time Rewind API project artwork

CurseForge · Minecraft mod

Time Rewind API

allows rewinding of blocks,items,enitites,etc with /rewind [ticks] [radius] can be used as an api for projects using time rewinding, this was created for the lack of time rewinding mods for this version, can be easily used.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Time Rewind API release should I use?

Updated today
Latest stable file timerewindapi-1.0.7.jar
Game version 1.20.1
Loader Forge

Time Rewind API timerewindapi-1.0.7.jar targets 1.20.1 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Time Rewind API required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Time Rewind API timerewindapi-1.0.7.jar need?

timerewindapi-1.0.7.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Time Rewind API without breaking your instance.

Built for Time Rewind API timerewindapi-1.0.7.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use timerewindapi-1.0.7.jar. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside timerewindapi-1.0.7.jar. It opens that exact file at the source.

About this project

What does Time Rewind API add?

TimeRewindAPI

TimeRewindAPI is a Forge 1.20.1 library for rewinding players, entities, projectiles, blocks, inventories, fluids, and world state.

Features

Player Rewind

  • Position
  • Velocity
  • Health
  • Hunger
  • Saturation
  • Air supply
  • Fire status
  • Fall distance
  • Experience
  • Inventory
  • Armor
  • Offhand
  • Potion effects
  • Dimension
  • Death rewind
  • Respawn rewind

Entity Rewind

  • Living entities
  • Health
  • Position
  • Velocity
  • Rotation
  • Fire state
  • Air supply

Projectile Rewind

  • Arrows
  • Tridents
  • Snowballs
  • Eggs
  • Other projectile entities

Item Entity Rewind

  • Dropped items
  • Position
  • Velocity
  • Stack contents

World Rewind

  • Block placement
  • Block breaking
  • TNT explosions
  • Creeper explosions
  • End Crystal explosions
  • Fluid placement
  • Water
  • Lava

Block Entity Rewind

  • Chests
  • Barrels
  • Furnaces
  • Blast Furnaces
  • Smokers
  • Hoppers
  • Shulker Boxes
  • Most modded block entities

Installation

Add TimeRewindAPI as a dependency to your Forge 1.20.1 mod.

Import:

import com.kin.timerewindapi.rewind.api.TimeRewindAPI;

Forge Dependencies:

dependencies {    implementation fg.deobf("com.kin:timerewindapi:1.0.0")}
 

API Usage

Rewind a Player

TimeRewindAPI.rewindPlayer(
        player,
        200
);

Rewinds a player by 200 ticks.


Rewind an Entity

TimeRewindAPI.rewindEntity(
        entity,
        100
);

Rewinds a living entity by 100 ticks.


Rewind a Projectile

TimeRewindAPI.rewindProjectile(
        projectile,
        40
);

Rewinds an arrow, trident, snowball, or other projectile.


Rewind an Item Entity

TimeRewindAPI.rewindItemEntity(
        itemEntity,
        100
);

Rewinds a dropped item.


Rewind World State

TimeRewindAPI.rewindWorld(
        level,
        player.blockPosition(),
        600,
        100
);

Parameters:

  • level = ServerLevel
  • center = center position
  • ticks = rewind duration
  • radius = affected radius

This rewinds:

  • Blocks
  • Block Entities
  • Fluids

within the radius.


Example Ability

TimeRewindAPI.rewindPlayer(
        player,
        200
);

TimeRewindAPI.rewindWorld(
        player.serverLevel(),
        player.blockPosition(),
        200,
        50
);

Rewinds the player and nearby world by 10 seconds.


Default Values

History Length: 600 ticks
Default Radius: 100 blocks
Recording Interval: 5 ticks

Command Examples

/rewind

Rewind yourself.

/rewind 200

Rewind yourself by 200 ticks.

/rewind 600 100

Rewind players, entities, projectiles, blocks, fluids, and block entities within 100 blocks.


Version

Current Version:

1.0.0

Notes

TimeRewindAPI is designed for:

  • Time powers
  • RPG abilities
  • Boss mechanics
  • Checkpoint systems
  • Save-state systems
  • Adventure maps
  • PvP abilities
  • Custom dimensions

Project description from CurseForge.

Pick your setup

Time Rewind API by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Time Rewind API versions and loaders

2 of 2 releases match

Looking for an older file? The official CurseForge project page is in Resources.