Gandon Pisma

Create a client-side Fabric companion add-on mod for the Flashback replay mod that records and plays back container GUIs, inventories, and screens.

Core Functionality:

  1. GUI State Recording: When a Flashback recording session is active, listen to client-side screen events and incoming container packets (OpenScreenS2CPacket, InventoryS2CPacket, ScreenHandlerSlotUpdateS2CPacket, CloseScreenS2CPacket). Record the exact timestamps, screen types (chests, double chests, barrels, shulker boxes, furnaces, crafting tables, player inventory), container titles, and item stacks in every slot whenever a GUI is opened, modified, or closed.
  2. Data Storage: Save the captured GUI timeline data into a companion JSON or binary file synced by tick timestamp to the active Flashback replay session.
  3. Replay Playback Rendering: When watching a Flashback replay in first-person or spectating the recorded player, automatically open and render the exact container GUI overlay on screen at the matching replay timestamps. Update item stacks, cursor items, and slot changes dynamically as the timeline plays forward or is scrubbed.
  4. Configuration & Controls: Add a simple toggle keybind (default: G) and a ModMenu/config option to enable or disable GUI overlay rendering during replay playback so the user can view clean cinematic footage or inspect inventories at will.
Kodari AI
KodariNov 14 at 8:14 am 1
ReplayGUIRecorder
A client-side Fabric companion mod for Flashback that records and replays container GUI interactions. During recording, it captures screen events and container packets (OpenScreen, Inventory, SlotUpdate, CloseScreen) with timestamps, storing screen types, titles, and item stacks into a JSON timeline file synced to the replay session. During playback, it renders the exact GUI overlays at matching timestamps, dynamically updating slots and cursor items as the timeline scrubs. Includes a toggle keybind (default: G) and ModMenu config to enable or disable overlay rendering for clean cinematic viewing or inventory inspection.

This is a Paper plugin project, but your Flashback companion needs a client-side Fabric mod. Kodari supports Fabric for Minecraft 26.3, 26.2, 1.21.11, 1.21.4, 1.20.4, 1.19.4, and 1.18.2. Which version would you like?

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code