类 GameTestBatch


  • public class GameTestBatch
    extends Object
    Mappings:
    Namespace Name
    official lq
    intermediary net/minecraft/class_4514
    named net/minecraft/test/GameTestBatch
    • 字段详细资料

      • DEFAULT_BATCH

        public static final String DEFAULT_BATCH
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Llq;a:Ljava/lang/String;
        intermediary field_33145 Lnet/minecraft/class_4514;field_33145:Ljava/lang/String;
        named DEFAULT_BATCH Lnet/minecraft/test/GameTestBatch;DEFAULT_BATCH:Ljava/lang/String;
      • id

        private final String id
        Mappings:
        Namespace Name Mixin selector
        official b Llq;b:Ljava/lang/String;
        intermediary field_20543 Lnet/minecraft/class_4514;field_20543:Ljava/lang/String;
        named id Lnet/minecraft/test/GameTestBatch;id:Ljava/lang/String;
      • testFunctions

        private final Collection<TestFunction> testFunctions
        Mappings:
        Namespace Name Mixin selector
        official c Llq;c:Ljava/util/Collection;
        intermediary field_20544 Lnet/minecraft/class_4514;field_20544:Ljava/util/Collection;
        named testFunctions Lnet/minecraft/test/GameTestBatch;testFunctions:Ljava/util/Collection;
      • beforeBatchConsumer

        @Nullable
        private final @Nullable Consumer<ServerWorld> beforeBatchConsumer
        Mappings:
        Namespace Name Mixin selector
        official d Llq;d:Ljava/util/function/Consumer;
        intermediary field_20545 Lnet/minecraft/class_4514;field_20545:Ljava/util/function/Consumer;
        named beforeBatchConsumer Lnet/minecraft/test/GameTestBatch;beforeBatchConsumer:Ljava/util/function/Consumer;
      • afterBatchConsumer

        @Nullable
        private final @Nullable Consumer<ServerWorld> afterBatchConsumer
        Mappings:
        Namespace Name Mixin selector
        official e Llq;e:Ljava/util/function/Consumer;
        intermediary field_27801 Lnet/minecraft/class_4514;field_27801:Ljava/util/function/Consumer;
        named afterBatchConsumer Lnet/minecraft/test/GameTestBatch;afterBatchConsumer:Ljava/util/function/Consumer;
    • 构造器详细资料

      • GameTestBatch

        public GameTestBatch​(String id,
                             Collection<TestFunction> testFunctions,
                             @Nullable
                             @Nullable Consumer<ServerWorld> beforeBatchConsumer,
                             @Nullable
                             @Nullable Consumer<ServerWorld> afterBatchConsumer)
        Mappings:
        Namespace Name Mixin selector
        official <init> Llq;<init>(Ljava/lang/String;Ljava/util/Collection;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V
        intermediary <init> Lnet/minecraft/class_4514;<init>(Ljava/lang/String;Ljava/util/Collection;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V
        named <init> Lnet/minecraft/test/GameTestBatch;<init>(Ljava/lang/String;Ljava/util/Collection;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V
    • 方法详细资料

      • getId

        public String getId()
        Mappings:
        Namespace Name Mixin selector
        official a Llq;a()Ljava/lang/String;
        intermediary method_22152 Lnet/minecraft/class_4514;method_22152()Ljava/lang/String;
        named getId Lnet/minecraft/test/GameTestBatch;getId()Ljava/lang/String;
      • getTestFunctions

        public Collection<TestFunction> getTestFunctions()
        Mappings:
        Namespace Name Mixin selector
        official b Llq;b()Ljava/util/Collection;
        intermediary method_22154 Lnet/minecraft/class_4514;method_22154()Ljava/util/Collection;
        named getTestFunctions Lnet/minecraft/test/GameTestBatch;getTestFunctions()Ljava/util/Collection;
      • startBatch

        public void startBatch​(ServerWorld world)
        Mappings:
        Namespace Name Mixin selector
        official a Llq;a(Labj;)V
        intermediary method_22153 Lnet/minecraft/class_4514;method_22153(Lnet/minecraft/class_3218;)V
        named startBatch Lnet/minecraft/test/GameTestBatch;startBatch(Lnet/minecraft/server/world/ServerWorld;)V
      • finishBatch

        public void finishBatch​(ServerWorld world)
        Mappings:
        Namespace Name Mixin selector
        official b Llq;b(Labj;)V
        intermediary method_32237 Lnet/minecraft/class_4514;method_32237(Lnet/minecraft/class_3218;)V
        named finishBatch Lnet/minecraft/test/GameTestBatch;finishBatch(Lnet/minecraft/server/world/ServerWorld;)V