Class ForgeGameTestHooks

java.lang.Object
net.minecraftforge.gametest.ForgeGameTestHooks

public class ForgeGameTestHooks 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

    • ForgeGameTestHooks

      public ForgeGameTestHooks()
  • 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.minecraftforge.forgespi.language.ModFileScanData.AnnotationData annotationData, Set<Method> gameTestMethods)
    • getTemplateNamespace

      public static String getTemplateNamespace(Method method)
    • prefixGameTestTemplate

      public static boolean prefixGameTestTemplate(Method method)