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 sn
intermediary net/minecraft/class_6302
named net/minecraft/test/GameTest
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionlong
boolean
int
boolean
int
int
boolean
int
-
Element Details
-
tickLimit
int tickLimit- Mappings:
Namespace Name Mixin selector official a
Lsn;a()I
intermediary method_35932
Lnet/minecraft/class_6302;method_35932()I
named tickLimit
Lnet/minecraft/test/GameTest;tickLimit()I
- Default:
100
-
batchId
String batchId- Mappings:
Namespace Name Mixin selector official b
Lsn;b()Ljava/lang/String;
intermediary method_35933
Lnet/minecraft/class_6302;method_35933()Ljava/lang/String;
named batchId
Lnet/minecraft/test/GameTest;batchId()Ljava/lang/String;
- Default:
"defaultBatch"
-
skyAccess
boolean skyAccess- Mappings:
Namespace Name Mixin selector official c
Lsn;c()Z
intermediary method_57098
Lnet/minecraft/class_6302;method_57098()Z
named skyAccess
Lnet/minecraft/test/GameTest;skyAccess()Z
- Default:
false
-
rotation
int rotation- Mappings:
Namespace Name Mixin selector official d
Lsn;d()I
intermediary method_35934
Lnet/minecraft/class_6302;method_35934()I
named rotation
Lnet/minecraft/test/GameTest;rotation()I
- Default:
0
-
required
boolean required- Mappings:
Namespace Name Mixin selector official e
Lsn;e()Z
intermediary method_35935
Lnet/minecraft/class_6302;method_35935()Z
named required
Lnet/minecraft/test/GameTest;required()Z
- Default:
true
-
manualOnly
boolean manualOnly- Mappings:
Namespace Name Mixin selector official f
Lsn;f()Z
intermediary method_57962
Lnet/minecraft/class_6302;method_57962()Z
named manualOnly
Lnet/minecraft/test/GameTest;manualOnly()Z
- Default:
false
-
templateName
String templateName- Mappings:
Namespace Name Mixin selector official g
Lsn;g()Ljava/lang/String;
intermediary method_35936
Lnet/minecraft/class_6302;method_35936()Ljava/lang/String;
named templateName
Lnet/minecraft/test/GameTest;templateName()Ljava/lang/String;
- Default:
""
-
duration
long duration- Mappings:
Namespace Name Mixin selector official h
Lsn;h()J
intermediary method_35937
Lnet/minecraft/class_6302;method_35937()J
named duration
Lnet/minecraft/test/GameTest;duration()J
- Default:
0L
-
maxAttempts
int maxAttempts- Mappings:
Namespace Name Mixin selector official i
Lsn;i()I
intermediary method_35938
Lnet/minecraft/class_6302;method_35938()I
named maxAttempts
Lnet/minecraft/test/GameTest;maxAttempts()I
- Default:
1
-
requiredSuccesses
int requiredSuccesses- Mappings:
Namespace Name Mixin selector official j
Lsn;j()I
intermediary method_35939
Lnet/minecraft/class_6302;method_35939()I
named requiredSuccesses
Lnet/minecraft/test/GameTest;requiredSuccesses()I
- Default:
1
-