Package net.minecraftforge.gametest
Annotation Interface GameTestHolder
Marks a class as containing game tests that should be registered automatically.
All methods annotated with
GameTest
or GameTestGenerator
will be registered.-
Optional Element Summary
-
Element Details
-
value
String valueThe default batch for all tests in this class that do not manually specify one. It it recommended that this includes your mod id.
This is also used when filtering out which batches to run during automation. the filters will be tested against the prefix of the batch name. So it is recommended to be structured in a logical fashion.Examples: forge.tags.items forge.tags.blocks forge.global_loot_modifiers.block_drops forge.global_loot_modifiers.tool_filter
The filter 'forge.global_loot_modifiers' would execute both the block_drops and tool_filter batches.This will default to your modid if it is on the same class that is annotated with
@Mod
- Default:
- ""
-
namespace
String namespaceUsed as the default namespace to use fortemplates
for any game tests in the class. Defaults to the modid if in a class with @Mod or else defaults to "minecraft"- Default:
- ""
-