Package net.minecraftforge.gametest
Class ForgeGameTestHooks
java.lang.Object
net.minecraftforge.gametest.ForgeGameTestHooks
-
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.minecraftforge.forgespi.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
-
ForgeGameTestHooks
public ForgeGameTestHooks()
-
-
Method Details
-
isGametestEnabled
public static boolean isGametestEnabled() -
isGametestServer
public static boolean isGametestServer() -
registerGametests
public static void registerGametests() -
getEnabledNamespaces
-
addGameTestMethods
-
getTemplateNamespace
-
prefixGameTestTemplate
-