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 sw
-
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> 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) -
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
Lsw;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
Lsw;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
Lsw;c:Laqm;
-
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
Lsw;d:Lsz;
-
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
Lsw;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
Lsw;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
Lsw;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
Lsw;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
Lsw;i:Lsw$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
Lsw;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
Lsw;k:Lsn;
-
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
Lsw;l:Lsw$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
Lsw;m:Lsw$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>
Lsw;<init>(Lsw$b;Ljava/util/Collection;Laqm;Lsz;Lsw$c;Lsw$c;)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
Lsw;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
Lsw;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
Lsw;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
Lsw;a(Lst;)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
Lsw;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
Lsw;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
Lsw;a(Lsp;)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
Lsw;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
Lsw;b(Lst;)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
Lsw;a(Laqm;)V
-