注释类型 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
    official ln
    intermediary net/minecraft/class_6302
    named net/minecraft/test/GameTest
    • 元素详细资料

      • tickLimit

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

        String batchId
        Mappings:
        Namespace Name Mixin selector
        official b Lln;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;
        默认值:
        "defaultBatch"
      • rotation

        int rotation
        Mappings:
        Namespace Name Mixin selector
        official c Lln;c()I
        intermediary method_35934 Lnet/minecraft/class_6302;method_35934()I
        named rotation Lnet/minecraft/test/GameTest;rotation()I
        默认值:
        0
      • required

        boolean required
        Mappings:
        Namespace Name Mixin selector
        official d Lln;d()Z
        intermediary method_35935 Lnet/minecraft/class_6302;method_35935()Z
        named required Lnet/minecraft/test/GameTest;required()Z
        默认值:
        true
      • structureName

        String structureName
        Mappings:
        Namespace Name Mixin selector
        official e Lln;e()Ljava/lang/String;
        intermediary method_35936 Lnet/minecraft/class_6302;method_35936()Ljava/lang/String;
        named structureName Lnet/minecraft/test/GameTest;structureName()Ljava/lang/String;
        默认值:
        ""
      • duration

        long duration
        Mappings:
        Namespace Name Mixin selector
        official f Lln;f()J
        intermediary method_35937 Lnet/minecraft/class_6302;method_35937()J
        named duration Lnet/minecraft/test/GameTest;duration()J
        默认值:
        0L
      • maxAttempts

        int maxAttempts
        Mappings:
        Namespace Name Mixin selector
        official g Lln;g()I
        intermediary method_35938 Lnet/minecraft/class_6302;method_35938()I
        named maxAttempts Lnet/minecraft/test/GameTest;maxAttempts()I
        默认值:
        1
      • requiredSuccesses

        int requiredSuccesses
        Mappings:
        Namespace Name Mixin selector
        official h Lln;h()I
        intermediary method_35939 Lnet/minecraft/class_6302;method_35939()I
        named requiredSuccesses Lnet/minecraft/test/GameTest;requiredSuccesses()I
        默认值:
        1