net.minecraft.gametest.framework

public class GameTestInfo

oj
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 long
i
tickCount
field_21455
tick
f_127606_
private boolean
j
started
field_20565
started
f_127607_
private final com.google.common.base.Stopwatch
k
timer
field_21456
stopwatch
f_127608_
private boolean
l
done
field_20567
completed
f_127609_
private final Rotation
m
rotation
field_25301
rotation
f_127610_
private Throwable
n
error
field_20569
throwable
f_127611_
private StructureBlockEntity
o
structureBlockEntity
field_27805
structureBlockEntity
f_177469_

Constructor summary

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

Method summary

Modifier and TypeMethod
void
a(gt 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
A()
tickInternal()
method_33315()
tickTests()
m_177470_()
private void
B()
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 Vec3i
e()
getStructureSize()
method_36061()
getSize()
m_177483_()
public AABB
f()
getStructureBounds()
method_36062()
getBoundingBox()
m_177484_()
private StructureBlockEntity
C()
getStructureBlockEntity()
method_36059()
getStructureBlockBlockEntity()
m_177471_()
public ServerLevel
g()
getLevel()
method_22176()
getWorld()
m_127637_()
public boolean
h()
hasSucceeded()
method_22177()
isPassed()
m_127638_()
public boolean
i()
hasFailed()
method_22178()
isFailed()
m_127639_()
public boolean
j()
hasStarted()
method_22179()
isStarted()
m_127640_()
public boolean
k()
isDone()
method_22180()
isCompleted()
m_127641_()
public long
l()
getRunTime()
method_36063()
getElapsedMilliseconds()
m_177485_()
private void
D()
finish()
method_23640()
complete()
m_127650_()
public void
m()
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
n()
getError()
method_22182()
getThrowable()
m_127642_()
public void
a(ok arg0)
addListener(GameTestListener arg0)
method_22167(class_4518 arg0)
addListener(TestListener listener)
m_127624_(C_4890_ arg0)
public void
a(gt arg0, int arg1)
spawnStructure(BlockPos arg0, int arg1)
method_22166(class_2338 arg0, int arg1)
init(BlockPos pos, int arg1)
m_127619_(C_4675_ p_127621_, int arg1)
public void
o()
clearStructure()
method_32240()
clearArea()
m_177487_()
long
p()
getTick()
method_36065()
getTick()
m_177488_()
GameTestSequence
q()
createSequence()
method_36066()
createTimedTaskRunner()
m_177489_()
public boolean
r()
isRequired()
method_22183()
isRequired()
m_127643_()
public boolean
s()
isOptional()
method_22184()
isOptional()
m_127644_()
public String
t()
getStructureName()
method_23638()
getTemplateName()
m_127645_()
public Rotation
u()
getRotation()
method_29402()
getRotation()
m_127646_()
public TestFunction
v()
getTestFunction()
method_29403()
getTestFunction()
m_127648_()
public int
w()
getTimeoutTicks()
method_36067()
getTicksLeft()
m_177490_()
public boolean
x()
isFlaky()
method_32241()
isFlaky()
m_177491_()
public int
y()
maxAttempts()
method_32242()
getMaxAttempts()
m_177492_()
public int
z()
requiredSuccesses()
method_32243()
getRequiredSuccesses()
m_177493_()