类 GameTestBatch
java.lang.Object
net.minecraft.gametest.framework.GameTestBatch
-
字段概要
字段修饰符和类型字段说明private final Consumer<ServerLevel>
private final Consumer<ServerLevel>
static final String
private final String
private final Collection<TestFunction>
-
构造器概要
构造器构造器说明GameTestBatch
(String pName, Collection<TestFunction> pTestFunctions, Consumer<ServerLevel> pBeforeBatchFunction, Consumer<ServerLevel> pAfterBatchFunction) -
方法概要
修饰符和类型方法说明getName()
void
runAfterBatchFunction
(ServerLevel pServerLevel) void
runBeforeBatchFunction
(ServerLevel pServerLevel)
-
字段详细资料
-
DEFAULT_BATCH_NAME
- 另请参阅:
-
name
-
testFunctions
-
beforeBatchFunction
-
afterBatchFunction
-
-
构造器详细资料
-
GameTestBatch
public GameTestBatch(String pName, Collection<TestFunction> pTestFunctions, @Nullable Consumer<ServerLevel> pBeforeBatchFunction, @Nullable Consumer<ServerLevel> pAfterBatchFunction)
-
-
方法详细资料
-
getName
-
getTestFunctions
-
runBeforeBatchFunction
-
runAfterBatchFunction
-