net.minecraft.gametest.framework

public class GameTestInfo

sv
net.minecraft.gametest.framework.GameTestInfo
net.minecraft.class_4517

Field summary

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

Constructor summary

ModifierConstructor
public (Holder$Reference<GameTestInstance> arg0, Rotation arg1, ServerLevel arg2, RetryOptions arg3)

Method summary

Modifier and TypeMethod
public void
a(iy arg0)
setTestBlockPos(BlockPos arg0)
method_66949(class_2338 arg0)
public GameTestInfo
a(int arg0)
startExecution(int arg0)
method_23634(int arg0)
public void
a()
placeStructure()
method_56213()
public void
a(ta arg0)
tick(GameTestRunner arg0)
method_22165(class_4520 arg0)
private void
E()
tickInternal()
method_33315()
private void
F()
startTest()
method_23639()
public void
a(long arg0, Runnable arg1)
setRunAtTickTime(long arg0, Runnable arg1)
method_36060(long arg0, Runnable arg1)
public ResourceLocation
b()
id()
method_66951()
public BlockPos
c()
getTestBlockPos()
method_22172()
public BlockPos
d()
getTestOrigin()
method_64385()
public AABB
e()
getStructureBounds()
method_36062()
public TestInstanceBlockEntity
f()
getTestInstanceBlockEntity()
method_66953()
public ServerLevel
g()
getLevel()
method_22176()
public boolean
h()
hasSucceeded()
method_22177()
public boolean
i()
hasFailed()
method_22178()
public boolean
j()
hasStarted()
method_22179()
public boolean
k()
isDone()
method_22180()
public long
l()
getRunTime()
method_36063()
private void
G()
finish()
method_23640()
public void
m()
succeed()
method_36064()
public void
a(xk arg0)
fail(Component arg0)
method_67485(class_2561 arg0)
public void
a(st arg0)
fail(GameTestException arg0)
method_22168(class_10751 arg0)
public GameTestException
n()
getError()
method_22182()
public void
a(sy arg0)
addListener(GameTestListener arg0)
method_22167(class_4518 arg0)
public GameTestInfo
o()
prepareTestStructure()
method_22166()
private TestInstanceBlockEntity
a(iy arg0, duz arg1, asi arg2)
createTestInstanceBlock(BlockPos arg0, Rotation arg1, ServerLevel arg2)
method_66950(class_2338 arg0, class_2470 arg1, class_3218 arg2)
int
p()
getTick()
method_36065()
GameTestSequence
q()
createSequence()
method_36066()
public boolean
r()
isRequired()
method_22183()
public boolean
s()
isOptional()
method_22184()
public ResourceLocation
t()
getStructure()
method_66954()
public Rotation
u()
getRotation()
method_29402()
public GameTestInstance
v()
getTest()
method_66955()
public Holder$Reference<GameTestInstance>
w()
getTestHolder()
method_66956()
public int
x()
getTimeoutTicks()
method_36067()
public boolean
y()
isFlaky()
method_32241()
public int
z()
maxAttempts()
method_32242()
public int
A()
requiredSuccesses()
method_32243()
public RetryOptions
B()
retryOptions()
method_56215()
public Stream<GameTestListener>
C()
getListeners()
method_56209()
public GameTestInfo
D()
copyReset()
method_56210()