Package net.minecraft.test
Class GameTestBatch
java.lang.Object
net.minecraft.test.GameTestBatch
- Mappings:
Namespace Name official pk
intermediary net/minecraft/class_4514
named net/minecraft/test/GameTestBatch
-
Field Summary
Modifier and TypeFieldDescriptionprivate final @Nullable Consumer<ServerWorld>
private final @Nullable Consumer<ServerWorld>
static final String
private final String
private final Collection<TestFunction>
-
Constructor Summary
ConstructorDescriptionGameTestBatch
(String id, Collection<TestFunction> testFunctions, @Nullable Consumer<ServerWorld> beforeBatchConsumer, @Nullable Consumer<ServerWorld> afterBatchConsumer) -
Method Summary
Modifier and TypeMethodDescriptionvoid
finishBatch
(ServerWorld world) getId()
void
startBatch
(ServerWorld world)
-
Field Details
-
DEFAULT_BATCH
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lpk;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
- Mappings:
Namespace Name Mixin selector official b
Lpk;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
- Mappings:
Namespace Name Mixin selector official c
Lpk;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
- Mappings:
Namespace Name Mixin selector official d
Lpk;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
- Mappings:
Namespace Name Mixin selector official e
Lpk;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>
Lpk;<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
- Mappings:
Namespace Name Mixin selector official a
Lpk;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
- Mappings:
Namespace Name Mixin selector official b
Lpk;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
- Mappings:
Namespace Name Mixin selector official a
Lpk;a(Lahm;)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
- Mappings:
Namespace Name Mixin selector official b
Lpk;b(Lahm;)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
-