2025-11-24 22:52:51 +03:00

19 lines
585 B
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.gametest.framework;
import java.util.Collection;
import net.minecraft.core.Holder;
import net.minecraft.gametest.framework.GameTestInfo;
import net.minecraft.gametest.framework.TestEnvironmentDefinition;
public record GameTestBatch(int index, Collection<GameTestInfo> gameTestInfos, Holder<TestEnvironmentDefinition> environment) {
public GameTestBatch {
if (gameTestInfos.isEmpty()) {
throw new IllegalArgumentException("A GameTestBatch must include at least one GameTestInfo!");
}
}
}