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 rnintermediary net/minecraft/class_6302named net/minecraft/test/GameTest
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionlongintbooleanbooleanintintint
-
Element Details
-
tickLimit
int tickLimit- Mappings:
Namespace Name Mixin selector official aLrn;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 bLrn;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"
-
method_57098
boolean method_57098- Mappings:
Namespace Name Mixin selector official cLrn;c()Zintermediary method_57098Lnet/minecraft/class_6302;method_57098()Znamed method_57098Lnet/minecraft/test/GameTest;method_57098()Z
- Default:
false
-
rotation
int rotation- Mappings:
Namespace Name Mixin selector official dLrn;d()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 eLrn;e()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 fLrn;f()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 gLrn;g()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 hLrn;h()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 iLrn;i()Iintermediary method_35939Lnet/minecraft/class_6302;method_35939()Inamed requiredSuccessesLnet/minecraft/test/GameTest;requiredSuccesses()I
- Default:
1
-