net.minecraft.gametest.framework

public class GameTestServer

extends MinecraftServer

All mapped superinterfaces:

ProfilerMeasured, TaskScheduler, ServerInfo, ChunkIOErrorReporter, CommandSource

sv
net.minecraft.gametest.framework.GameTestServer
net.minecraft.class_6306
net.minecraft.test.TestServer

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
l
LOGGER
field_33156
LOGGER
private static final int
m
PROGRESS_REPORT_INTERVAL
field_33157
RESULT_STRING_LOG_INTERVAL
private static final int
n
TEST_POSITION_RANGE
field_47175
TEST_POS_XZ_RANGE
private static final Services
o
NO_SERVICES
field_39441
NONE_API_SERVICES
private static final FeatureFlagSet
p
ENABLED_FEATURES
field_53734
ENABLED_FEATURES
private final LocalSampleLogger
q
sampleLogger
field_48984
debugSampleLog
private final Optional<String>
r
testSelection
field_56192
field_56192
private final boolean
s
verify
field_56193
field_56193
private List<GameTestBatch>
t
testBatches
field_33158
batches
private final com.google.common.base.Stopwatch
u
stopwatch
field_48494
stopwatch
private static final WorldOptions
v
WORLD_OPTIONS
field_33161
TEST_LEVEL
private MultipleTestTracker
w
testTracker
field_33162
testSet

Constructor summary

ModifierConstructor
private (Thread serverThread, LevelStorageSource$LevelStorageAccess session, PackRepository dataPackManager, WorldStem saveLoader, Optional<String> arg4, boolean arg5)

Method summary

Modifier and TypeMethod
public static GameTestServer
a(Thread arg0, ewz$c arg1, auk arg2, Optional<String> arg3, boolean arg4)
create(Thread arg0, LevelStorageSource$LevelStorageAccess arg1, PackRepository arg2, Optional<String> arg3, boolean arg4)
method_40378(Thread arg0, class_32$class_5143 arg1, class_3283 arg2, Optional<String> arg3, boolean arg4)
create(Thread thread, LevelStorage$Session session, ResourcePackManager resourcePackManager, Optional<String> arg3, boolean arg4)
public boolean
e()
initServer()
method_3823()
setupServer()
private List<GameTestBatch>
b(arn arg0)
evaluateTestsToRun(ServerLevel arg0)
method_66986(class_3218 arg0)
method_66986(ServerWorld arg0)
private static Stream<GameTestInfo>
a(js$c<sp> arg0, arn arg1)
rotateAndMultiply(Holder$Reference<GameTestInstance> arg0, ServerLevel arg1)
method_66984(class_6880$class_6883<class_10660> arg0, class_3218 arg1)
method_66984(RegistryEntry$Reference<class_10660> arg0, ServerWorld arg1)
public static Stream<Holder$Reference<GameTestInstance>>
a(kg arg0, String arg1)
getTestsForSelection(RegistryAccess arg0, String arg1)
method_66985(class_5455 arg0, String arg1)
method_66985(DynamicRegistryManager arg0, String arg1)
public void
a(BooleanSupplier arg0)
tickServer(BooleanSupplier arg0)
method_3748(BooleanSupplier arg0)
tick(BooleanSupplier arg0)
public SampleLogger
f()
getTickTimeLogger()
method_56593()
getDebugSampleLog()
public boolean
g()
isTickTimeLoggingEnabled()
method_56626()
shouldPushTickTimeLog()
public void
s_()
waitUntilNextTick()
method_16208()
runTasksTillTickEnd()
public SystemReport
a(ad arg0)
fillServerSystemReport(SystemReport arg0)
method_3859(class_6396 arg0)
addExtraSystemDetails(SystemDetails arg0)
public void
i()
onServerExit()
method_3821()
exit()
public void
a(o arg0)
onServerCrash(CrashReport arg0)
method_3744(class_128 arg0)
setCrashReport(CrashReport arg0)
private void
c(arn arg0)
startTests(ServerLevel arg0)
method_36096(class_3218 arg0)
runTestBatches(ServerWorld world)
private boolean
br()
haveTestsStarted()
method_36098()
isTesting()
public boolean
r_()
isHardcore()
method_3754()
isHardcore()
public int
k()
getOperatorUserPermissionLevel()
method_3798()
getOpPermissionLevel()
public int
l()
getFunctionCompilationLevel()
method_21714()
getFunctionPermissionLevel()
public boolean
m()
shouldRconBroadcast()
method_3732()
shouldBroadcastRconToOps()
public boolean
n()
isDedicatedServer()
method_3816()
isDedicated()
public int
o()
getRateLimitPacketsPerSecond()
method_30612()
getRateLimit()
public boolean
p()
isEpollEnabled()
method_3759()
isUsingNativeTransport()
public boolean
q()
isCommandBlockEnabled()
method_3812()
areCommandBlocksEnabled()
public boolean
r()
isPublished()
method_3860()
isRemote()
public boolean
c()
shouldInformAdmins()
method_9201()
shouldBroadcastConsoleToOps()
public boolean
a(com.mojang.authlib.GameProfile arg0)
isSingleplayerOwner(com.mojang.authlib.GameProfile arg0)
method_19466(com.mojang.authlib.GameProfile arg0)
isHost(com.mojang.authlib.GameProfile arg0)