Package net.minecraft.test
Class TestBatch
- java.lang.Object
-
- net.minecraft.test.TestBatch
-
public class TestBatch extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.function.Consumer<ServerWorld>
beforeBatchFunction
private java.lang.String
name
private java.util.Collection<TestFunctionInfo>
testFunctions
-
Constructor Summary
Constructors Constructor Description TestBatch(java.lang.String p_i226065_1_, java.util.Collection<TestFunctionInfo> p_i226065_2_, java.util.function.Consumer<ServerWorld> p_i226065_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
java.util.Collection<TestFunctionInfo>
getTestFunctions()
void
runBeforeBatchFunction(ServerWorld p_229464_1_)
-
-
-
Field Detail
-
name
private final java.lang.String name
-
testFunctions
private final java.util.Collection<TestFunctionInfo> testFunctions
-
beforeBatchFunction
@Nullable private final java.util.function.Consumer<ServerWorld> beforeBatchFunction
-
-
Constructor Detail
-
TestBatch
public TestBatch(java.lang.String p_i226065_1_, java.util.Collection<TestFunctionInfo> p_i226065_2_, @Nullable java.util.function.Consumer<ServerWorld> p_i226065_3_)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getTestFunctions
public java.util.Collection<TestFunctionInfo> getTestFunctions()
-
runBeforeBatchFunction
public void runBeforeBatchFunction(ServerWorld p_229464_1_)
-
-