Annotation Interface GameTest


@Target(METHOD) @Retention(RUNTIME) public @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
named net/minecraft/test/GameTest
intermediary net/minecraft/class_6302
official tj
  • Element Details

    • tickLimit

      int tickLimit
      Mappings:
      Namespace Name Mixin selector
      named tickLimit Lnet/minecraft/test/GameTest;tickLimit()I
      intermediary method_35932 Lnet/minecraft/class_6302;method_35932()I
      official a Ltj;a()I
      Default:
      100
    • batchId

      String batchId
      Mappings:
      Namespace Name Mixin selector
      named batchId Lnet/minecraft/test/GameTest;batchId()Ljava/lang/String;
      intermediary method_35933 Lnet/minecraft/class_6302;method_35933()Ljava/lang/String;
      official b Ltj;b()Ljava/lang/String;
      Default:
      "defaultBatch"
    • skyAccess

      boolean skyAccess
      Mappings:
      Namespace Name Mixin selector
      named skyAccess Lnet/minecraft/test/GameTest;skyAccess()Z
      intermediary method_57098 Lnet/minecraft/class_6302;method_57098()Z
      official c Ltj;c()Z
      Default:
      false
    • rotation

      int rotation
      Mappings:
      Namespace Name Mixin selector
      named rotation Lnet/minecraft/test/GameTest;rotation()I
      intermediary method_35934 Lnet/minecraft/class_6302;method_35934()I
      official d Ltj;d()I
      Default:
      0
    • required

      boolean required
      Mappings:
      Namespace Name Mixin selector
      named required Lnet/minecraft/test/GameTest;required()Z
      intermediary method_35935 Lnet/minecraft/class_6302;method_35935()Z
      official e Ltj;e()Z
      Default:
      true
    • manualOnly

      boolean manualOnly
      Mappings:
      Namespace Name Mixin selector
      named manualOnly Lnet/minecraft/test/GameTest;manualOnly()Z
      intermediary method_57962 Lnet/minecraft/class_6302;method_57962()Z
      official f Ltj;f()Z
      Default:
      false
    • templateName

      String templateName
      Mappings:
      Namespace Name Mixin selector
      named templateName Lnet/minecraft/test/GameTest;templateName()Ljava/lang/String;
      intermediary method_35936 Lnet/minecraft/class_6302;method_35936()Ljava/lang/String;
      official g Ltj;g()Ljava/lang/String;
      Default:
      ""
    • duration

      long duration
      Mappings:
      Namespace Name Mixin selector
      named duration Lnet/minecraft/test/GameTest;duration()J
      intermediary method_35937 Lnet/minecraft/class_6302;method_35937()J
      official h Ltj;h()J
      Default:
      0L
    • maxAttempts

      int maxAttempts
      Mappings:
      Namespace Name Mixin selector
      named maxAttempts Lnet/minecraft/test/GameTest;maxAttempts()I
      intermediary method_35938 Lnet/minecraft/class_6302;method_35938()I
      official i Ltj;i()I
      Default:
      1
    • requiredSuccesses

      int requiredSuccesses
      Mappings:
      Namespace Name Mixin selector
      named requiredSuccesses Lnet/minecraft/test/GameTest;requiredSuccesses()I
      intermediary method_35939 Lnet/minecraft/class_6302;method_35939()I
      official j Ltj;j()I
      Default:
      1