net.minecraft.gametest.framework

public class GameTestInfo

sp
net.minecraft.gametest.framework.GameTestInfo
net.minecraft.class_4517
net.minecraft.test.GameTestState

Field summary

Modifier and TypeField
private final Holder$Reference<GameTestInstance>
a
test
field_56173
instanceEntry
private BlockPos
b
testBlockPos
field_56174
testBlockPos
private final ServerLevel
c
level
field_20561
world
private final Collection<GameTestListener>
d
listeners
field_20562
listeners
private final int
e
timeoutTicks
field_20563
tickLimit
private final Collection<GameTestSequence>
f
sequences
field_21452
timedTaskRunners
private final it.unimi.dsi.fastutil.objects.Object2LongMap<Runnable>
g
runAtTickTimeMap
field_21453
ticksByRunnables
private boolean
h
placedStructure
field_47173
initialized
private boolean
i
chunksLoaded
field_47174
tickedOnce
private int
j
tickCount
field_21455
tick
private boolean
k
started
field_20565
started
private final RetryOptions
l
retryOptions
field_48469
testAttemptConfig
private final com.google.common.base.Stopwatch
m
timer
field_21456
stopwatch
private boolean
n
done
field_20567
completed
private final Rotation
o
extraRotation
field_56175
rotation
private Throwable
p
error
field_20569
throwable
private TestInstanceBlockEntity
q
testInstanceBlockEntity
field_56176
blockEntity

Constructor summary

ModifierConstructor
public (Holder$Reference<GameTestInstance> instanceEntry, Rotation rotation, ServerLevel world, RetryOptions testAttemptConfig)

Method summary

Modifier and TypeMethod
public void
a(iu arg0)
setTestBlockPos(BlockPos arg0)
method_66949(class_2338 arg0)
setTestBlockPos(BlockPos testBlockPos)
public GameTestInfo
a(int arg0)
startExecution(int arg0)
method_23634(int arg0)
startCountdown(int additionalExpectedStopTime)
public void
a()
placeStructure()
method_56213()
initializeImmediately()
public void
a(su arg0)
tick(GameTestRunner arg0)
method_22165(class_4520 arg0)
tick(TestRunContext context)
private void
E()
tickInternal()
method_33315()
tickTests()
private void
F()
startTest()
method_23639()
start()
public void
a(long arg0, Runnable arg1)
setRunAtTickTime(long arg0, Runnable arg1)
method_36060(long arg0, Runnable arg1)
runAtTick(long tick, Runnable runnable)
public ResourceLocation
b()
id()
method_66951()
getId()
public BlockPos
c()
getTestBlockPos()
method_22172()
getPos()
public BlockPos
d()
getTestOrigin()
method_64385()
getOrigin()
public AABB
e()
getStructureBounds()
method_36062()
getBoundingBox()
public TestInstanceBlockEntity
f()
getTestInstanceBlockEntity()
method_66953()
getTestInstanceBlockEntity()
public ServerLevel
g()
getLevel()
method_22176()
getWorld()
public boolean
h()
hasSucceeded()
method_22177()
isPassed()
public boolean
i()
hasFailed()
method_22178()
isFailed()
public boolean
j()
hasStarted()
method_22179()
isStarted()
public boolean
k()
isDone()
method_22180()
isCompleted()
public long
l()
getRunTime()
method_36063()
getElapsedMilliseconds()
private void
G()
finish()
method_23640()
complete()
public void
m()
succeed()
method_36064()
completeIfSuccessful()
public void
a(Throwable arg0)
fail(Throwable arg0)
method_22168(Throwable arg0)
fail(Throwable throwable)
public Throwable
n()
getError()
method_22182()
getThrowable()
public void
a(ss arg0)
addListener(GameTestListener arg0)
method_22167(class_4518 arg0)
addListener(TestListener listener)
public GameTestInfo
o()
prepareTestStructure()
method_22166()
init()
private TestInstanceBlockEntity
a(iu arg0, dsm arg1, aro arg2)
createTestInstanceBlock(BlockPos arg0, Rotation arg1, ServerLevel arg2)
method_66950(class_2338 arg0, class_2470 arg1, class_3218 arg2)
placeTestInstance(BlockPos pos, BlockRotation rotation, ServerWorld world)
int
p()
getTick()
method_36065()
getTick()
GameTestSequence
q()
createSequence()
method_36066()
createTimedTaskRunner()
public boolean
r()
isRequired()
method_22183()
isRequired()
public boolean
s()
isOptional()
method_22184()
isOptional()
public ResourceLocation
t()
getStructure()
method_66954()
getStructure()
public Rotation
u()
getRotation()
method_29402()
getRotation()
public GameTestInstance
v()
getTest()
method_66955()
getInstance()
public Holder$Reference<GameTestInstance>
w()
getTestHolder()
method_66956()
getInstanceEntry()
public int
x()
getTimeoutTicks()
method_36067()
getTickLimit()
public boolean
y()
isFlaky()
method_32241()
isFlaky()
public int
z()
maxAttempts()
method_32242()
getMaxAttempts()
public int
A()
requiredSuccesses()
method_32243()
getRequiredSuccesses()
public RetryOptions
B()
retryOptions()
method_56215()
getTestAttemptConfig()
public Stream<GameTestListener>
C()
getListeners()
method_56209()
streamListeners()
public GameTestInfo
D()
copyReset()
method_56210()
copy()