Package net.minecraft.test
Class TestRunContext
java.lang.Object
net.minecraft.test.TestRunContext
- Mappings:
Namespace Name named net/minecraft/test/TestRunContext
intermediary net/minecraft/class_4520
official ta
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static class
static interface
-
Field Summary
Modifier and TypeFieldDescriptionprivate final TestRunContext.Batcher
private ImmutableList
<GameTestBatch> (package private) final List
<BatchListener> (package private) @Nullable GameTestBatch
static final int
private final TestRunContext.TestStructureSpawner
private static final Logger
private final TestManager
private final TestRunContext.TestStructureSpawner
private final List
<GameTestState> (package private) final boolean
private boolean
private final List
<GameTestState> (package private) final ServerWorld
-
Constructor Summary
ModifierConstructorDescriptionprotected
TestRunContext
(TestRunContext.Batcher batcher, Collection<GameTestBatch> batches, ServerWorld world, TestManager manager, TestRunContext.TestStructureSpawner reuseSpawner, TestRunContext.TestStructureSpawner initialSpawner, boolean stopAfterFailure) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addBatchListener
(BatchListener batchListener) void
clear()
static void
clearDebugMarkers
(ServerWorld world) private void
onFinish()
private Optional
<GameTestState> prepareStructure
(GameTestState oldState) private Collection
<GameTestState> prepareStructures
(Collection<GameTestState> oldStates) void
retry
(GameTestState state) (package private) void
runBatch
(int batchIndex) void
start()
-
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
Lta;a:I
-
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
Lta;b:Lorg/slf4j/Logger;
-
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
Lta;c:Laqu;
-
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
Lta;d:Ltd;
-
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
Lta;e:Ljava/util/List;
-
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
Lta;f:Lcom/google/common/collect/ImmutableList;
-
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
Lta;g:Ljava/util/List;
-
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
Lta;h:Ljava/util/List;
-
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
Lta;i:Lta$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
Lta;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
Lta;k:Lsr;
-
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
Lta;l:Lta$c;
-
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
Lta;m:Lta$c;
-
stopAfterFailure
final boolean stopAfterFailure- Mappings:
Namespace Name Mixin selector named stopAfterFailure
Lnet/minecraft/test/TestRunContext;stopAfterFailure:Z
intermediary field_52279
Lnet/minecraft/class_4520;field_52279:Z
official n
Lta;n:Z
-
-
Constructor Details
-
TestRunContext
protected TestRunContext(TestRunContext.Batcher batcher, Collection<GameTestBatch> batches, ServerWorld world, TestManager manager, TestRunContext.TestStructureSpawner reuseSpawner, TestRunContext.TestStructureSpawner initialSpawner, boolean stopAfterFailure) - 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;Z)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;Z)V
official <init>
Lta;<init>(Lta$b;Ljava/util/Collection;Laqu;Ltd;Lta$c;Lta$c;Z)V
-
-
Method Details
-
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
Lta;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
Lta;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
Lta;c()V
-
retry
- 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
Lta;a(Lsx;)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
Lta;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
Lta;d()V
-
addBatchListener
- 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
Lta;a(Lst;)V
-
prepareStructures
- 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
Lta;a(Ljava/util/Collection;)Ljava/util/Collection;
-
prepareStructure
- 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
Lta;b(Lsx;)Ljava/util/Optional;
-
clearDebugMarkers
- 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
Lta;a(Laqu;)V
-