packtest
packtest copied to clipboard
Fabric mod for testing data packs, with data packs
Reason: I am making a map (specifically [TF2 in Minecraft](https://github.com/Nico314159/tf2_mc)). There's a lot of complex functionality involved, and it would be great to have a way to test that my...
The goal of this PR is to fix #5 !
## Description Testing numbers with the data command is always a bit tedious. I was thinking that this could be simplified using the same interface as for scores. ## Proposition...
## Description When working with scaled position the worldborder has to be changed to avoid scoreboard overflow. Since tests are run at a random location they can fail due to...
## Description Dummies can obtain the 'Bring Home the Beacon' Advancement when standing in their test structure for a couple of seconds. ## How to Reproduce 1. Write any test...
This is a simple fix for dummy players not rotating when using the `/rotate` command. Now it should works as expected. Also, this is totally out of scope for this...
``` [18:54:46] [main/ERROR]: Couldn't load overlays metadata: DataResult.Error['Failed to parse either. First: Not a number: {"min_inclusive":58,"max_inclusive":48}; Second: Failed to parse either. First: Not a json array: {"min_inclusive":58,"max_inclusive":48}; Second: min_inclusive must...
You get errors like `Failed to load tag gm4_display_frames:potion_tracker`, but it isn't clear whether this is a function tag, item tag, etc.
Loading into a world for the first time works, but the `PackTestLibrary` does not handle updating existing test functions and test instances after a `/reload` in-game. ``` java.lang.IllegalStateException: Adding duplicate...
When executed tests report the last fail command and not the first one, for example : ```mcfunction setblock ~ ~5 ~ stone await delay 2s execute if block ~ ~5...