Class GameTestHooks

java.lang.Object
net.neoforged.neoforge.gametest.GameTestHooks

public class GameTestHooks extends Object
  • Field Details

    • registeredGametests

      private static boolean registeredGametests
    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • GAME_TEST_HOLDER

      private static final org.objectweb.asm.Type GAME_TEST_HOLDER
  • Constructor Details

    • GameTestHooks

      public GameTestHooks()
  • Method Details

    • isGametestEnabled

      public static boolean isGametestEnabled()
    • isGametestServer

      public static boolean isGametestServer()
    • registerGametests

      public static void registerGametests()
    • getEnabledNamespaces

      private static Set<String> getEnabledNamespaces()
    • addGameTestMethods

      private static void addGameTestMethods(net.neoforged.neoforgespi.language.ModFileScanData.AnnotationData annotationData, Set<Method> gameTestMethods)
    • getTemplateNamespace

      public static String getTemplateNamespace(Method method)
    • prefixGameTestTemplate

      public static boolean prefixGameTestTemplate(Method method)