From 51a4be1432d9f9007b931546d83d96b72b2d1621 Mon Sep 17 00:00:00 2001 From: Misode Date: Fri, 14 Jun 2024 17:11:07 +0200 Subject: [PATCH] Rename tests folder to test --- README.md | 4 ++-- src/main/java/io/github/misode/packtest/PackTestLibrary.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d5c46e3..61e3796 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # PackTest -PackTest allows you to write game tests in a data pack. Tests are `*.mcfunction` files in a `tests` folder. They can be used to test custom data packs. +PackTest allows you to write game tests in a data pack. Tests are `*.mcfunction` files in a `test` folder. They can be used to test custom data packs. [![modrinth](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg)](https://modrinth.com/mod/packtest) ## Example -**`data/example/tests/foo.mcfunction`** +**`data/example/test/foo.mcfunction`** ```mcfunction #> Summons an armor stand and finds it # @template example:small_platform diff --git a/src/main/java/io/github/misode/packtest/PackTestLibrary.java b/src/main/java/io/github/misode/packtest/PackTestLibrary.java index ec65519..34223f6 100644 --- a/src/main/java/io/github/misode/packtest/PackTestLibrary.java +++ b/src/main/java/io/github/misode/packtest/PackTestLibrary.java @@ -27,7 +27,7 @@ public class PackTestLibrary implements PreparableReloadListener { public static final PackTestLibrary INSTANCE = new PackTestLibrary(2, new CommandDispatcher<>()); - private static final FileToIdConverter LISTER = new FileToIdConverter("tests", ".mcfunction"); + private static final FileToIdConverter LISTER = new FileToIdConverter("test", ".mcfunction"); private int permissionLevel; private CommandDispatcher dispatcher;