Package net.neoforged.neoforge.gametest
Class GameTestHooks
java.lang.Object
net.neoforged.neoforge.gametest.GameTestHooks
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.objectweb.asm.Type
private static final org.apache.logging.log4j.Logger
private static boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
addGameTestMethods
(net.neoforged.neoforgespi.language.ModFileScanData.AnnotationData annotationData, Set<Method> gameTestMethods) static String
getTemplateNamespace
(Method method) static boolean
static boolean
static boolean
prefixGameTestTemplate
(Method method) static void
-
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
-
addGameTestMethods
-
getTemplateNamespace
-
prefixGameTestTemplate
-