net.minecraft.gametest.framework

public class GameTestInfo

ro
net.minecraft.gametest.framework.GameTestInfo
net.minecraft.class_4517
net.minecraft.test.GameTestState
net.minecraft.src.C_4889_
net.minecraft.gametest.framework.GameTestHarnessInfo

Field summary

Modifier and TypeField
private final TestFunction
a
testFunction
field_20559
testFunction
f_127598_
private BlockPos
b
structureBlockPos
field_20560
pos
f_127599_
private final ServerLevel
c
level
field_20561
world
f_127600_
private final Collection<GameTestListener>
d
listeners
field_20562
listeners
f_127601_
private final int
e
timeoutTicks
field_20563
ticksLeft
f_127602_
private final Collection<GameTestSequence>
f
sequences
field_21452
timedTaskRunners
f_127603_
private final it.unimi.dsi.fastutil.objects.Object2LongMap<Runnable>
g
runAtTickTimeMap
field_21453
ticksByRunnables
f_127604_
private long
h
startTick
field_21454
expectedStopTime
f_127605_
private int
i
ticksToWaitForChunkLoading
field_47172
initialDelay
f_302353_
private boolean
j
placedStructure
field_47173
initialized
f_303273_
private boolean
k
chunksLoaded
field_47174
tickedOnce
f_303601_
private long
l
tickCount
field_21455
tick
f_127606_
private boolean
m
started
field_20565
started
f_127607_
private boolean
n
rerunUntilFailed
field_46593
rerunUntilFailed
f_303005_
private final com.google.common.base.Stopwatch
o
timer
field_21456
stopwatch
f_127608_
private boolean
p
done
field_20567
completed
f_127609_
private final Rotation
q
rotation
field_25301
rotation
f_127610_
private Throwable
r
error
field_20569
throwable
f_127611_
private StructureBlockEntity
s
structureBlockEntity
field_27805
structureBlockEntity
f_177469_

Constructor summary

ModifierConstructor
public (TestFunction testFunction, Rotation rotation, ServerLevel world)

Method summary

Modifier and TypeMethod
void
a(hx arg0)
setStructureBlockPos(BlockPos arg0)
method_23635(class_2338 arg0)
setPos(BlockPos pos)
m_127617_(C_4675_ arg0)
void
a()
startExecution()
method_23634()
startCountdown()
m_127616_()
public void
b()
tick()
method_22165()
tick()
m_127628_()
private void
C()
tickInternal()
method_33315()
tickTests()
m_177470_()
private void
D()
startTest()
method_23639()
start()
m_127649_()
public void
a(long arg0, Runnable arg1)
setRunAtTickTime(long arg0, Runnable arg1)
method_36060(long arg0, Runnable arg1)
runAtTick(long tick, Runnable runnable)
m_177472_(long p_177474_, Runnable arg1)
public String
c()
getTestName()
method_22169()
getTemplatePath()
m_127633_()
public BlockPos
d()
getStructureBlockPos()
method_22172()
getPos()
m_127636_()
public BlockPos
e()
getStructureOrigin()
method_54843()
getStructureBlockPos()
m_306899_()
public Vec3i
f()
getStructureSize()
method_36061()
getSize()
m_177483_()
public AABB
g()
getStructureBounds()
method_36062()
getBoundingBox()
m_177484_()
private StructureBlockEntity
E()
getStructureBlockEntity()
method_36059()
getStructureBlockBlockEntity()
m_177471_()
public ServerLevel
h()
getLevel()
method_22176()
getWorld()
m_127637_()
public boolean
i()
hasSucceeded()
method_22177()
isPassed()
m_127638_()
public boolean
j()
hasFailed()
method_22178()
isFailed()
m_127639_()
public boolean
k()
hasStarted()
method_22179()
isStarted()
m_127640_()
public boolean
l()
isDone()
method_22180()
isCompleted()
m_127641_()
public long
m()
getRunTime()
method_36063()
getElapsedMilliseconds()
m_177485_()
private void
F()
finish()
method_23640()
complete()
m_127650_()
public void
n()
succeed()
method_36064()
completeIfSuccessful()
m_177486_()
public void
a(Throwable arg0)
fail(Throwable arg0)
method_22168(Throwable arg0)
fail(Throwable throwable)
m_127622_(Throwable arg0)
public Throwable
o()
getError()
method_22182()
getThrowable()
m_127642_()
public void
a(rp arg0)
addListener(GameTestListener arg0)
method_22167(class_4518 arg0)
addListener(TestListener listener)
m_127624_(C_4890_ arg0)
public void
b(hx arg0)
prepareTestStructure(BlockPos arg0)
method_22166(class_2338 arg0)
init(BlockPos pos)
m_306517_(C_4675_ arg0)
public void
p()
clearStructure()
method_32240()
clearArea()
m_177487_()
long
q()
getTick()
method_36065()
getTick()
m_177488_()
GameTestSequence
r()
createSequence()
method_36066()
createTimedTaskRunner()
m_177489_()
public boolean
s()
isRequired()
method_22183()
isRequired()
m_127643_()
public boolean
t()
isOptional()
method_22184()
isOptional()
m_127644_()
public String
u()
getStructureName()
method_23638()
getTemplateName()
m_127645_()
public Rotation
v()
getRotation()
method_29402()
getRotation()
m_127646_()
public TestFunction
w()
getTestFunction()
method_29403()
getTestFunction()
m_127648_()
public int
x()
getTimeoutTicks()
method_36067()
getTicksLeft()
m_177490_()
public boolean
y()
isFlaky()
method_32241()
isFlaky()
m_177491_()
public int
z()
maxAttempts()
method_32242()
getMaxAttempts()
m_177492_()
public int
A()
requiredSuccesses()
method_32243()
getRequiredSuccesses()
m_177493_()
public void
a(boolean arg0)
setRerunUntilFailed(boolean arg0)
method_54146(boolean arg0)
setRerunUntilFailed(boolean rerunUntilFailed)
m_305764_(boolean arg0)
public boolean
B()
rerunUntilFailed()
method_54145()
shouldRerunUntilFailed()
m_306236_()