Class TestRunContext

java.lang.Object
net.minecraft.test.TestRunContext

public class TestRunContext extends Object
Mappings:
Namespace Name
named net/minecraft/test/TestRunContext
intermediary net/minecraft/class_4520
official tr
  • Field Details

    • DEFAULT_TESTS_PER_ROW

      public static final int DEFAULT_TESTS_PER_ROW
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_TESTS_PER_ROW Lnet/minecraft/test/TestRunContext;DEFAULT_TESTS_PER_ROW:I
      intermediary field_33151 Lnet/minecraft/class_4520;field_33151:I
      official a Ltr;a:I
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/test/TestRunContext;LOGGER:Lorg/slf4j/Logger;
      intermediary field_48470 Lnet/minecraft/class_4520;field_48470:Lorg/slf4j/Logger;
      official b Ltr;b:Lorg/slf4j/Logger;
    • world

      final ServerWorld world
      Mappings:
      Namespace Name Mixin selector
      named world Lnet/minecraft/test/TestRunContext;world:Lnet/minecraft/server/world/ServerWorld;
      intermediary field_48471 Lnet/minecraft/class_4520;field_48471:Lnet/minecraft/class_3218;
      official c Ltr;c:Larf;
    • manager

      private final TestManager manager
      Mappings:
      Namespace Name Mixin selector
      named manager Lnet/minecraft/test/TestRunContext;manager:Lnet/minecraft/test/TestManager;
      intermediary field_48472 Lnet/minecraft/class_4520;field_48472:Lnet/minecraft/class_4521;
      official d Ltr;d:Ltu;
    • states

      private final List<GameTestState> states
      Mappings:
      Namespace Name Mixin selector
      named states Lnet/minecraft/test/TestRunContext;states:Ljava/util/List;
      intermediary field_48473 Lnet/minecraft/class_4520;field_48473:Ljava/util/List;
      official e Ltr;e:Ljava/util/List;
    • batches

      private ImmutableList<GameTestBatch> batches
      Mappings:
      Namespace Name Mixin selector
      named batches Lnet/minecraft/test/TestRunContext;batches:Lcom/google/common/collect/ImmutableList;
      intermediary field_48474 Lnet/minecraft/class_4520;field_48474:Lcom/google/common/collect/ImmutableList;
      official f Ltr;f:Lcom/google/common/collect/ImmutableList;
    • batchListeners

      final List<BatchListener> batchListeners
      Mappings:
      Namespace Name Mixin selector
      named batchListeners Lnet/minecraft/test/TestRunContext;batchListeners:Ljava/util/List;
      intermediary field_48475 Lnet/minecraft/class_4520;field_48475:Ljava/util/List;
      official g Ltr;g:Ljava/util/List;
    • toBeRetried

      private final List<GameTestState> toBeRetried
      Mappings:
      Namespace Name Mixin selector
      named toBeRetried Lnet/minecraft/test/TestRunContext;toBeRetried:Ljava/util/List;
      intermediary field_48476 Lnet/minecraft/class_4520;field_48476:Ljava/util/List;
      official h Ltr;h:Ljava/util/List;
    • batcher

      private final TestRunContext.Batcher batcher
      Mappings:
      Namespace Name Mixin selector
      named batcher Lnet/minecraft/test/TestRunContext;batcher:Lnet/minecraft/test/TestRunContext$Batcher;
      intermediary field_48477 Lnet/minecraft/class_4520;field_48477:Lnet/minecraft/class_4520$class_9116;
      official i Ltr;i:Ltr$b;
    • stopped

      private boolean stopped
      Mappings:
      Namespace Name Mixin selector
      named stopped Lnet/minecraft/test/TestRunContext;stopped:Z
      intermediary field_48478 Lnet/minecraft/class_4520;field_48478:Z
      official j Ltr;j:Z
    • currentBatch

      Mappings:
      Namespace Name Mixin selector
      named currentBatch Lnet/minecraft/test/TestRunContext;currentBatch:Lnet/minecraft/test/GameTestBatch;
      intermediary field_48479 Lnet/minecraft/class_4520;field_48479:Lnet/minecraft/class_4514;
      official k Ltr;k:Lti;
    • reuseSpawner

      private final TestRunContext.TestStructureSpawner reuseSpawner
      Mappings:
      Namespace Name Mixin selector
      named reuseSpawner Lnet/minecraft/test/TestRunContext;reuseSpawner:Lnet/minecraft/test/TestRunContext$TestStructureSpawner;
      intermediary field_48480 Lnet/minecraft/class_4520;field_48480:Lnet/minecraft/class_4520$class_9117;
      official l Ltr;l:Ltr$c;
    • initialSpawner

      private final TestRunContext.TestStructureSpawner initialSpawner
      Mappings:
      Namespace Name Mixin selector
      named initialSpawner Lnet/minecraft/test/TestRunContext;initialSpawner:Lnet/minecraft/test/TestRunContext$TestStructureSpawner;
      intermediary field_48481 Lnet/minecraft/class_4520;field_48481:Lnet/minecraft/class_4520$class_9117;
      official m Ltr;m:Ltr$c;
  • Constructor Details

    • TestRunContext

      protected TestRunContext(TestRunContext.Batcher batcher, Collection<GameTestBatch> batches, ServerWorld world, TestManager manager, TestRunContext.TestStructureSpawner reuseSpawner, TestRunContext.TestStructureSpawner initialSpawner)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/test/TestRunContext;<init>(Lnet/minecraft/test/TestRunContext$Batcher;Ljava/util/Collection;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/test/TestManager;Lnet/minecraft/test/TestRunContext$TestStructureSpawner;Lnet/minecraft/test/TestRunContext$TestStructureSpawner;)V
      intermediary <init> Lnet/minecraft/class_4520;<init>(Lnet/minecraft/class_4520$class_9116;Ljava/util/Collection;Lnet/minecraft/class_3218;Lnet/minecraft/class_4521;Lnet/minecraft/class_4520$class_9117;Lnet/minecraft/class_4520$class_9117;)V
      official <init> Ltr;<init>(Ltr$b;Ljava/util/Collection;Larf;Ltu;Ltr$c;Ltr$c;)V
  • Method Details

    • getStates

      public List<GameTestState> getStates()
      Mappings:
      Namespace Name Mixin selector
      named getStates Lnet/minecraft/test/TestRunContext;getStates()Ljava/util/List;
      intermediary method_56219 Lnet/minecraft/class_4520;method_56219()Ljava/util/List;
      official a Ltr;a()Ljava/util/List;
    • start

      public void start()
      Mappings:
      Namespace Name Mixin selector
      named start Lnet/minecraft/test/TestRunContext;start()V
      intermediary method_56226 Lnet/minecraft/class_4520;method_56226()V
      official b Ltr;b()V
    • clear

      public void clear()
      Mappings:
      Namespace Name Mixin selector
      named clear Lnet/minecraft/test/TestRunContext;clear()V
      intermediary method_56229 Lnet/minecraft/class_4520;method_56229()V
      official c Ltr;c()V
    • retry

      public void retry(GameTestState state)
      Mappings:
      Namespace Name Mixin selector
      named retry Lnet/minecraft/test/TestRunContext;retry(Lnet/minecraft/test/GameTestState;)V
      intermediary method_56224 Lnet/minecraft/class_4520;method_56224(Lnet/minecraft/class_4517;)V
      official a Ltr;a(Lto;)V
    • runBatch

      void runBatch(int batchIndex)
      Mappings:
      Namespace Name Mixin selector
      named runBatch Lnet/minecraft/test/TestRunContext;runBatch(I)V
      intermediary method_56220 Lnet/minecraft/class_4520;method_56220(I)V
      official a Ltr;a(I)V
    • onFinish

      private void onFinish()
      Mappings:
      Namespace Name Mixin selector
      named onFinish Lnet/minecraft/test/TestRunContext;onFinish()V
      intermediary method_56231 Lnet/minecraft/class_4520;method_56231()V
      official d Ltr;d()V
    • addBatchListener

      public void addBatchListener(BatchListener batchListener)
      Mappings:
      Namespace Name Mixin selector
      named addBatchListener Lnet/minecraft/test/TestRunContext;addBatchListener(Lnet/minecraft/test/BatchListener;)V
      intermediary method_56223 Lnet/minecraft/class_4520;method_56223(Lnet/minecraft/class_9114;)V
      official a Ltr;a(Ltk;)V
    • prepareStructures

      private Collection<GameTestState> prepareStructures(Collection<GameTestState> oldStates)
      Mappings:
      Namespace Name Mixin selector
      named prepareStructures Lnet/minecraft/test/TestRunContext;prepareStructures(Ljava/util/Collection;)Ljava/util/Collection;
      intermediary method_56221 Lnet/minecraft/class_4520;method_56221(Ljava/util/Collection;)Ljava/util/Collection;
      official a Ltr;a(Ljava/util/Collection;)Ljava/util/Collection;
    • prepareStructure

      private Optional<GameTestState> prepareStructure(GameTestState oldState)
      Mappings:
      Namespace Name Mixin selector
      named prepareStructure Lnet/minecraft/test/TestRunContext;prepareStructure(Lnet/minecraft/test/GameTestState;)Ljava/util/Optional;
      intermediary method_56228 Lnet/minecraft/class_4520;method_56228(Lnet/minecraft/class_4517;)Ljava/util/Optional;
      official b Ltr;b(Lto;)Ljava/util/Optional;
    • clearDebugMarkers

      public static void clearDebugMarkers(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      named clearDebugMarkers Lnet/minecraft/test/TestRunContext;clearDebugMarkers(Lnet/minecraft/server/world/ServerWorld;)V
      intermediary method_22213 Lnet/minecraft/class_4520;method_22213(Lnet/minecraft/class_3218;)V
      official a Ltr;a(Larf;)V