Package net.minecraft.test
Annotation Interface GameTest
GameTest is used to tell the test framework that the annotated method is a test.
GameTest methods must take 1 parameter of TestContext
- Mappings:
Namespace Name official pjintermediary net/minecraft/class_6302named net/minecraft/test/GameTest
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionlongintbooleanintintint
-
Element Details
-
tickLimit
int tickLimit- Mappings:
Namespace Name Mixin selector official aLpj;a()Iintermediary method_35932Lnet/minecraft/class_6302;method_35932()Inamed tickLimitLnet/minecraft/test/GameTest;tickLimit()I
- Default:
100
-
batchId
String batchId- Mappings:
Namespace Name Mixin selector official bLpj;b()Ljava/lang/String;intermediary method_35933Lnet/minecraft/class_6302;method_35933()Ljava/lang/String;named batchIdLnet/minecraft/test/GameTest;batchId()Ljava/lang/String;
- Default:
"defaultBatch"
-
rotation
int rotation- Mappings:
Namespace Name Mixin selector official cLpj;c()Iintermediary method_35934Lnet/minecraft/class_6302;method_35934()Inamed rotationLnet/minecraft/test/GameTest;rotation()I
- Default:
0
-
required
boolean required- Mappings:
Namespace Name Mixin selector official dLpj;d()Zintermediary method_35935Lnet/minecraft/class_6302;method_35935()Znamed requiredLnet/minecraft/test/GameTest;required()Z
- Default:
true
-
templateName
String templateName- Mappings:
Namespace Name Mixin selector official eLpj;e()Ljava/lang/String;intermediary method_35936Lnet/minecraft/class_6302;method_35936()Ljava/lang/String;named templateNameLnet/minecraft/test/GameTest;templateName()Ljava/lang/String;
- Default:
""
-
duration
long duration- Mappings:
Namespace Name Mixin selector official fLpj;f()Jintermediary method_35937Lnet/minecraft/class_6302;method_35937()Jnamed durationLnet/minecraft/test/GameTest;duration()J
- Default:
0L
-
maxAttempts
int maxAttempts- Mappings:
Namespace Name Mixin selector official gLpj;g()Iintermediary method_35938Lnet/minecraft/class_6302;method_35938()Inamed maxAttemptsLnet/minecraft/test/GameTest;maxAttempts()I
- Default:
1
-
requiredSuccesses
int requiredSuccesses- Mappings:
Namespace Name Mixin selector official hLpj;h()Iintermediary method_35939Lnet/minecraft/class_6302;method_35939()Inamed requiredSuccessesLnet/minecraft/test/GameTest;requiredSuccesses()I
- Default:
1
-