类 TestSet


  • public class TestSet
    extends Object
    Mappings:
    Namespace Name
    official mg
    intermediary net/minecraft/class_4524
    named net/minecraft/test/TestSet
    • 字段详细资料

      • NOT_STARTED

        private static final char NOT_STARTED
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Lmg;a:C
        intermediary field_33168 Lnet/minecraft/class_4524;field_33168:C
        named NOT_STARTED Lnet/minecraft/test/TestSet;NOT_STARTED:C
      • RUNNING

        private static final char RUNNING
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official b Lmg;b:C
        intermediary field_33169 Lnet/minecraft/class_4524;field_33169:C
        named RUNNING Lnet/minecraft/test/TestSet;RUNNING:C
      • PASS

        private static final char PASS
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official c Lmg;c:C
        intermediary field_33170 Lnet/minecraft/class_4524;field_33170:C
        named PASS Lnet/minecraft/test/TestSet;PASS:C
      • OPTIONAL_FAIL

        private static final char OPTIONAL_FAIL
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official d Lmg;d:C
        intermediary field_33171 Lnet/minecraft/class_4524;field_33171:C
        named OPTIONAL_FAIL Lnet/minecraft/test/TestSet;OPTIONAL_FAIL:C
      • REQUIRED_FAIL

        private static final char REQUIRED_FAIL
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official e Lmg;e:C
        intermediary field_33172 Lnet/minecraft/class_4524;field_33172:C
        named REQUIRED_FAIL Lnet/minecraft/test/TestSet;REQUIRED_FAIL:C
      • tests

        private final Collection<GameTestState> tests
        Mappings:
        Namespace Name Mixin selector
        official f Lmg;f:Ljava/util/Collection;
        intermediary field_20577 Lnet/minecraft/class_4524;field_20577:Ljava/util/Collection;
        named tests Lnet/minecraft/test/TestSet;tests:Ljava/util/Collection;
      • listeners

        @Nullable
        private final @Nullable Collection<TestListener> listeners
        Mappings:
        Namespace Name Mixin selector
        official g Lmg;g:Ljava/util/Collection;
        intermediary field_25303 Lnet/minecraft/class_4524;field_25303:Ljava/util/Collection;
        named listeners Lnet/minecraft/test/TestSet;listeners:Ljava/util/Collection;
    • 构造器详细资料

      • TestSet

        public TestSet()
      • TestSet

        public TestSet​(Collection<GameTestState> tests)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lmg;<init>(Ljava/util/Collection;)V
        intermediary <init> Lnet/minecraft/class_4524;<init>(Ljava/util/Collection;)V
        named <init> Lnet/minecraft/test/TestSet;<init>(Ljava/util/Collection;)V
    • 方法详细资料

      • add

        public void add​(GameTestState test)
        Mappings:
        Namespace Name Mixin selector
        official a Lmg;a(Llv;)V
        intermediary method_22230 Lnet/minecraft/class_4524;method_22230(Lnet/minecraft/class_4517;)V
        named add Lnet/minecraft/test/TestSet;add(Lnet/minecraft/test/GameTestState;)V
      • addListener

        public void addListener​(TestListener listener)
        Mappings:
        Namespace Name Mixin selector
        official a Lmg;a(Llw;)V
        intermediary method_22231 Lnet/minecraft/class_4524;method_22231(Lnet/minecraft/class_4518;)V
        named addListener Lnet/minecraft/test/TestSet;addListener(Lnet/minecraft/test/TestListener;)V
      • addListener

        public void addListener​(Consumer<GameTestState> onFailed)
        Mappings:
        Namespace Name Mixin selector
        official a Lmg;a(Ljava/util/function/Consumer;)V
        intermediary method_29407 Lnet/minecraft/class_4524;method_29407(Ljava/util/function/Consumer;)V
        named addListener Lnet/minecraft/test/TestSet;addListener(Ljava/util/function/Consumer;)V
      • getFailedRequiredTestCount

        public int getFailedRequiredTestCount()
        Mappings:
        Namespace Name Mixin selector
        official a Lmg;a()I
        intermediary method_22229 Lnet/minecraft/class_4524;method_22229()I
        named getFailedRequiredTestCount Lnet/minecraft/test/TestSet;getFailedRequiredTestCount()I
      • getFailedOptionalTestCount

        public int getFailedOptionalTestCount()
        Mappings:
        Namespace Name Mixin selector
        official b Lmg;b()I
        intermediary method_22234 Lnet/minecraft/class_4524;method_22234()I
        named getFailedOptionalTestCount Lnet/minecraft/test/TestSet;getFailedOptionalTestCount()I
      • getCompletedTestCount

        public int getCompletedTestCount()
        Mappings:
        Namespace Name Mixin selector
        official c Lmg;c()I
        intermediary method_22235 Lnet/minecraft/class_4524;method_22235()I
        named getCompletedTestCount Lnet/minecraft/test/TestSet;getCompletedTestCount()I
      • failed

        public boolean failed()
        Mappings:
        Namespace Name Mixin selector
        official d Lmg;d()Z
        intermediary method_22236 Lnet/minecraft/class_4524;method_22236()Z
        named failed Lnet/minecraft/test/TestSet;failed()Z
      • hasFailedOptionalTests

        public boolean hasFailedOptionalTests()
        Mappings:
        Namespace Name Mixin selector
        official e Lmg;e()Z
        intermediary method_22237 Lnet/minecraft/class_4524;method_22237()Z
        named hasFailedOptionalTests Lnet/minecraft/test/TestSet;hasFailedOptionalTests()Z
      • getRequiredTests

        public Collection<GameTestState> getRequiredTests()
        Mappings:
        Namespace Name Mixin selector
        official f Lmg;f()Ljava/util/Collection;
        intermediary method_36103 Lnet/minecraft/class_4524;method_36103()Ljava/util/Collection;
        named getRequiredTests Lnet/minecraft/test/TestSet;getRequiredTests()Ljava/util/Collection;
      • getOptionalTests

        public Collection<GameTestState> getOptionalTests()
        Mappings:
        Namespace Name Mixin selector
        official g Lmg;g()Ljava/util/Collection;
        intermediary method_36104 Lnet/minecraft/class_4524;method_36104()Ljava/util/Collection;
        named getOptionalTests Lnet/minecraft/test/TestSet;getOptionalTests()Ljava/util/Collection;
      • getTestCount

        public int getTestCount()
        Mappings:
        Namespace Name Mixin selector
        official h Lmg;h()I
        intermediary method_22238 Lnet/minecraft/class_4524;method_22238()I
        named getTestCount Lnet/minecraft/test/TestSet;getTestCount()I
      • isDone

        public boolean isDone()
        Mappings:
        Namespace Name Mixin selector
        official i Lmg;i()Z
        intermediary method_22239 Lnet/minecraft/class_4524;method_22239()Z
        named isDone Lnet/minecraft/test/TestSet;isDone()Z
      • getResultString

        public String getResultString()
        Mappings:
        Namespace Name Mixin selector
        official j Lmg;j()Ljava/lang/String;
        intermediary method_22240 Lnet/minecraft/class_4524;method_22240()Ljava/lang/String;
        named getResultString Lnet/minecraft/test/TestSet;getResultString()Ljava/lang/String;
      • toString

        public String toString()
        覆盖:
        toString 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official toString Lmg;toString()Ljava/lang/String;
        intermediary toString Lnet/minecraft/class_4524;toString()Ljava/lang/String;
        named toString Lnet/minecraft/test/TestSet;toString()Ljava/lang/String;