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 sbintermediary net/minecraft/class_6302named net/minecraft/test/GameTest
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionlongbooleanintbooleanintintbooleanint
-
Element Details
-
tickLimit
int tickLimit- Mappings:
Namespace Name Mixin selector official aLsb;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 bLsb;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"
-
skyAccess
boolean skyAccess- Mappings:
Namespace Name Mixin selector official cLsb;c()Zintermediary method_57098Lnet/minecraft/class_6302;method_57098()Znamed skyAccessLnet/minecraft/test/GameTest;skyAccess()Z
- Default:
false
-
rotation
int rotation- Mappings:
Namespace Name Mixin selector official dLsb;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 eLsb;e()Zintermediary method_35935Lnet/minecraft/class_6302;method_35935()Znamed requiredLnet/minecraft/test/GameTest;required()Z
- Default:
true
-
manualOnly
boolean manualOnly- Mappings:
Namespace Name Mixin selector official fLsb;f()Zintermediary method_57962Lnet/minecraft/class_6302;method_57962()Znamed manualOnlyLnet/minecraft/test/GameTest;manualOnly()Z
- Default:
false
-
templateName
String templateName- Mappings:
Namespace Name Mixin selector official gLsb;g()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 hLsb;h()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 iLsb;i()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 jLsb;j()Iintermediary method_35939Lnet/minecraft/class_6302;method_35939()Inamed requiredSuccessesLnet/minecraft/test/GameTest;requiredSuccesses()I
- Default:
1
-