Class GameTestRegistry

java.lang.Object
net.ixdarklord.coolcatcore.internal.gametest.GameTestRegistry

public final class GameTestRegistry extends Object
  • Method Details

    • add

      public static void add(net.minecraft.resources.ResourceLocation id, GameTestOptions options, Consumer<net.minecraft.gametest.framework.GameTestHelper> function)
    • addClass

      public static List<net.minecraft.resources.ResourceLocation> addClass(String modId, Class<?> holder)
    • isEnabled

      public static boolean isEnabled()
    • ids

      public static List<net.minecraft.resources.ResourceLocation> ids()
    • findManualOnly

      public 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).