Class GameTestBatch

java.lang.Object
net.minecraft.test.GameTestBatch

public class GameTestBatch extends Object
Mappings:
Namespace Name
official pm
intermediary net/minecraft/class_4514
named net/minecraft/test/GameTestBatch
  • Field Details

    • DEFAULT_BATCH

      public static final String DEFAULT_BATCH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lpm;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 Lpm;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 Lpm;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 Lpm;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 Lpm;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;
  • Constructor Details

    • 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> Lpm;<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
  • Method Details

    • getId

      public String getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lpm;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 Lpm;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 Lpm;a(Laif;)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 Lpm;b(Laif;)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