Datapack Debugger

Datapack Debugger

Mod

A fabric mod for Minecraft 1.21, which allows you to set breakpoints in datapacks

Server Game MechanicsManagementOptimizationUtility

219 downloads
3 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Version 1.1.1

New Features

  • For Debug breakpoint clear to clear all caches in mod.
  • While using breakpoint get <key>, leaving the key empty will get all args in this macro function
  • Add more message while executing mod's command

Fix

  • Macro function cannot work.
  • After running any command while the game is in debug mode, the command context will be changed so breakpoint run cannot work.
  • Loop function cannot work well.
  • When the breakpoint is triggered, the message "Breakpoint has triggered" is sent to current command source instead of all players.

Version 1.1.0

New Features

Get Function Stack

Use the /breakpoint stack command to get the current function call stack in the game. Example:

#test:test1
say 1
function test:test2
say 2

#test:test2
say A
#breakpoint
say B

At the breakpoint, executing /breakpoint stack will output:

test:test2
test:test

Run Command in Current Context

Use /breakpoint run <command> to run any command in the current context, similar to execute ... run ....

Version 1.0.1

Fix

  • Translate the massages.
  • Remove unused dependency
  • Change the inner mod id from datapack-breakpoint to datapack-debugger

Project members

Alumopper

Member

Details

Licensed GPL-3.0-only
Published 4 months ago
Updated 4 months ago