net.minecraft.gametest.framework

public class GameTestInfo

ts
net.minecraft.gametest.framework.GameTestInfo
net.minecraft.class_4517
net.minecraft.test.GameTestState
net.minecraft.gametest.framework.GameTestHarnessInfo

Field summary

Modifier and TypeField
private final TestFunction
a
testFunction
field_20559
testFunction
private BlockPos
b
structureBlockPos
field_20560
pos
private BlockPos
c
northWestCorner
field_48468
boxMinPos
private final ServerLevel
d
level
field_20561
world
private final Collection<GameTestListener>
e
listeners
field_20562
listeners
private final int
f
timeoutTicks
field_20563
tickLimit
private final Collection<GameTestSequence>
g
sequences
field_21452
timedTaskRunners
private final it.unimi.dsi.fastutil.objects.Object2LongMap<Runnable>
h
runAtTickTimeMap
field_21453
ticksByRunnables
private long
i
startTick
field_21454
startTime
private int
j
ticksToWaitForChunkLoading
field_47172
initialDelay
private boolean
k
placedStructure
field_47173
initialized
private boolean
l
chunksLoaded
field_47174
tickedOnce
private long
m
tickCount
field_21455
tick
private boolean
n
started
field_20565
started
private final RetryOptions
o
retryOptions
field_48469
testAttemptConfig
private final com.google.common.base.Stopwatch
p
timer
field_21456
stopwatch
private boolean
q
done
field_20567
completed
private final Rotation
r
rotation
field_25301
rotation
private Throwable
s
error
field_20569
throwable
private StructureBlockEntity
t
structureBlockEntity
field_27805
structureBlockEntity

Constructor summary

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

Method summary

Modifier and TypeMethod
void
a(jh arg0)
setStructureBlockPos(BlockPos arg0)
method_23635(class_2338 arg0)
setPos(BlockPos pos)
public GameTestInfo
a(int arg0)
startExecution(int arg0)
method_23634(int arg0)
startCountdown(int additionalExpectedStopTime)
public GameTestInfo
a()
placeStructure()
method_56213()
initializeImmediately()
private boolean
E()
ensureStructureIsPlaced()
method_56211()
initialize()
public void
a(tv arg0)
tick(GameTestRunner arg0)
method_22165(class_4520 arg0)
tick(TestRunContext context)
private void
F()
tickInternal()
method_33315()
tickTests()
private void
G()
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 String
b()
getTestName()
method_22169()
getTemplatePath()
public BlockPos
c()
getStructureBlockPos()
method_22172()
getPos()
public BlockPos
d()
getTestOrigin()
method_64385()
getOrigin()
public AABB
e()
getStructureBounds()
method_36062()
getBoundingBox()
public StructureBlockEntity
f()
getStructureBlockEntity()
method_36059()
getStructureBlockBlockEntity()
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
H()
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(tt arg0)
addListener(GameTestListener arg0)
method_22167(class_4518 arg0)
addListener(TestListener listener)
public GameTestInfo
o()
prepareTestStructure()
method_22166()
init()
long
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 String
t()
getStructureName()
method_23638()
getTemplateName()
public Rotation
u()
getRotation()
method_29402()
getRotation()
public TestFunction
v()
getTestFunction()
method_29403()
getTestFunction()
public int
w()
getTimeoutTicks()
method_36067()
getTickLimit()
public boolean
x()
isFlaky()
method_32241()
isFlaky()
public int
y()
maxAttempts()
method_32242()
getMaxAttempts()
public int
z()
requiredSuccesses()
method_32243()
getRequiredSuccesses()
public RetryOptions
A()
retryOptions()
method_56215()
getTestAttemptConfig()
public Stream<GameTestListener>
B()
getListeners()
method_56209()
streamListeners()
public GameTestInfo
C()
copyReset()
method_56210()
copy()
public BlockPos
D()
getOrCalculateNorthwestCorner()
method_56212()
getBoxMinPos()
public void
b(jh arg0)
setNorthWestCorner(BlockPos arg0)
method_56214(class_2338 arg0)
setBoxMinPos(BlockPos boxMinPos)