Class GameTestRegistry
java.lang.Object
net.ixdarklord.coolcatcore.internal.gametest.GameTestRegistry
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidadd(net.minecraft.resources.ResourceLocation id, GameTestOptions options, Consumer<net.minecraft.gametest.framework.GameTestHelper> function) static List<net.minecraft.resources.ResourceLocation> static Optional<net.minecraft.gametest.framework.TestFunction> findManualOnly(String name) A manual-only test, by its name in commands (as the game finds tests: ignoring case).static List<net.minecraft.resources.ResourceLocation> ids()static boolean
-
Method Details
-
add
public static void add(net.minecraft.resources.ResourceLocation id, GameTestOptions options, Consumer<net.minecraft.gametest.framework.GameTestHelper> function) -
addClass
-
isEnabled
public static boolean isEnabled() -
ids
-
findManualOnly
A manual-only test, by its name in commands (as the game finds tests: ignoring case).
-