net.minecraft.gametest.framework

public class GameTestInfo

sx
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 BlockPos
c
northWestCorner
field_48468
boxMinPos
f_317131_
private final ServerLevel
d
level
field_20561
world
f_127600_
private final Collection<GameTestListener>
e
listeners
field_20562
listeners
f_127601_
private final int
f
timeoutTicks
field_20563
tickLimit
f_127602_
private final Collection<GameTestSequence>
g
sequences
field_21452
timedTaskRunners
f_127603_
private final it.unimi.dsi.fastutil.objects.Object2LongMap<Runnable>
h
runAtTickTimeMap
field_21453
ticksByRunnables
f_127604_
private long
i
startTick
field_21454
startTime
f_127605_
private int
j
ticksToWaitForChunkLoading
field_47172
initialDelay
f_302353_
private boolean
k
placedStructure
field_47173
initialized
f_303273_
private boolean
l
chunksLoaded
field_47174
tickedOnce
f_303601_
private long
m
tickCount
field_21455
tick
f_127606_
private boolean
n
started
field_20565
started
f_127607_
private final RetryOptions
o
retryOptions
field_48469
testAttemptConfig
f_314573_
private final com.google.common.base.Stopwatch
p
timer
field_21456
stopwatch
f_127608_
private boolean
q
done
field_20567
completed
f_127609_
private final Rotation
r
rotation
field_25301
rotation
f_127610_
private Throwable
s
error
field_20569
throwable
f_127611_
private StructureBlockEntity
t
structureBlockEntity
field_27805
structureBlockEntity
f_177469_

Constructor summary

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

Method summary

Modifier and TypeMethod
void
a(jd arg0)
setStructureBlockPos(BlockPos arg0)
method_23635(class_2338 arg0)
setPos(BlockPos pos)
m_127617_(C_4675_ arg0)
public GameTestInfo
a(int arg0)
startExecution(int arg0)
method_23634(int arg0)
startCountdown(int additionalExpectedStopTime)
m_127616_(int arg0)
public GameTestInfo
a()
placeStructure()
method_56213()
initializeImmediately()
m_322668_()
private boolean
C()
ensureStructureIsPlaced()
method_56211()
initialize()
m_321951_()
public void
a(ta arg0)
tick(GameTestRunner arg0)
method_22165(class_4520 arg0)
tick(TestRunContext context)
m_127628_(C_4892_ arg0)
private void
D()
tickInternal()
method_33315()
tickTests()
m_177470_()
private void
E()
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
b()
getTestName()
method_22169()
getTemplatePath()
m_127633_()
public BlockPos
c()
getStructureBlockPos()
method_22172()
getPos()
m_127636_()
public AABB
d()
getStructureBounds()
method_36062()
getBoundingBox()
m_177484_()
public StructureBlockEntity
e()
getStructureBlockEntity()
method_36059()
getStructureBlockBlockEntity()
m_177471_()
public ServerLevel
f()
getLevel()
method_22176()
getWorld()
m_127637_()
public boolean
g()
hasSucceeded()
method_22177()
isPassed()
m_127638_()
public boolean
h()
hasFailed()
method_22178()
isFailed()
m_127639_()
public boolean
i()
hasStarted()
method_22179()
isStarted()
m_127640_()
public boolean
j()
isDone()
method_22180()
isCompleted()
m_127641_()
public long
k()
getRunTime()
method_36063()
getElapsedMilliseconds()
m_177485_()
private void
F()
finish()
method_23640()
complete()
m_127650_()
public void
l()
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
m()
getError()
method_22182()
getThrowable()
m_127642_()
public void
a(sy arg0)
addListener(GameTestListener arg0)
method_22167(class_4518 arg0)
addListener(TestListener listener)
m_127624_(C_4890_ arg0)
public GameTestInfo
n()
prepareTestStructure()
method_22166()
init()
m_306517_()
long
o()
getTick()
method_36065()
getTick()
m_177488_()
GameTestSequence
p()
createSequence()
method_36066()
createTimedTaskRunner()
m_177489_()
public boolean
q()
isRequired()
method_22183()
isRequired()
m_127643_()
public boolean
r()
isOptional()
method_22184()
isOptional()
m_127644_()
public String
s()
getStructureName()
method_23638()
getTemplateName()
m_127645_()
public Rotation
t()
getRotation()
method_29402()
getRotation()
m_127646_()
public TestFunction
u()
getTestFunction()
method_29403()
getTestFunction()
m_127648_()
public int
v()
getTimeoutTicks()
method_36067()
getTickLimit()
m_177490_()
public boolean
w()
isFlaky()
method_32241()
isFlaky()
m_177491_()
public int
x()
maxAttempts()
method_32242()
getMaxAttempts()
m_177492_()
public int
y()
requiredSuccesses()
method_32243()
getRequiredSuccesses()
m_177493_()
public RetryOptions
z()
retryOptions()
method_56215()
getTestAttemptConfig()
m_324328_()
public Stream<GameTestListener>
A()
getListeners()
method_56209()
streamListeners()
m_324070_()
public GameTestInfo
B()
copyReset()
method_56210()
copy()
m_325037_()
private BlockPos
G()
getOrCalculateNorthwestCorner()
method_56212()
getBoxMinPos()
m_325039_()
public void
b(jd arg0)
setNorthWestCorner(BlockPos arg0)
method_56214(class_2338 arg0)
setBoxMinPos(BlockPos boxMinPos)
m_322570_(C_4675_ arg0)