net.minecraft.gametest.framework

public class GameTestInfo

sq
net.minecraft.gametest.framework.GameTestInfo
net.minecraft.class_4517
net.minecraft.unmapped.C_agwojffm
net.minecraft.test.GameTestState
net.minecraft.test.GameTestState

Field summary

Modifier and TypeField
private final Holder$Reference<GameTestInstance>
a
test
field_56173
f_sqzncleg
instanceEntry
private BlockPos
b
testBlockPos
field_56174
f_huhwhepw
testBlockPos
pos
private final ServerLevel
c
level
field_20561
f_czxnhwhd
world
world
private final Collection<GameTestListener>
d
listeners
field_20562
f_jxoiaeip
listeners
listeners
private final int
e
timeoutTicks
field_20563
f_qwmjtgds
tickLimit
ticksLeft
private final Collection<GameTestSequence>
f
sequences
field_21452
f_cyllvwin
timedTaskRunners
timedTaskRunners
private final it.unimi.dsi.fastutil.objects.Object2LongMap<Runnable>
g
runAtTickTimeMap
field_21453
f_esamtawu
ticksByRunnables
ticksByRunnables
private boolean
h
placedStructure
field_47173
f_aptnrqfd
initialized
initialized
private boolean
i
chunksLoaded
field_47174
f_ubhmztut
tickedOnce
chunksLoaded
private int
j
tickCount
field_21455
f_cncaolaa
tick
tick
private boolean
k
started
field_20565
f_zslsvvtu
started
started
private final RetryOptions
l
retryOptions
field_48469
f_xiheryfz
testAttemptConfig
private final com.google.common.base.Stopwatch
m
timer
field_21456
f_iqjevdoe
stopwatch
stopwatch
private boolean
n
done
field_20567
f_zphgfhwv
completed
completed
private final Rotation
o
extraRotation
field_56175
f_hgdnqoqj
rotation
private GameTestException
p
error
field_20569
f_cykwpirb
exception
throwable
private TestInstanceBlockEntity
q
testInstanceBlockEntity
field_56176
f_otnwlnho
blockEntity

Constructor summary

ModifierConstructor
public (Holder$Reference<GameTestInstance> instanceEntry, Rotation rotation, ServerLevel world, RetryOptions testAttemptConfig)

Method summary

Modifier and TypeMethod
public void
a(iu arg0)
setTestBlockPos(BlockPos arg0)
method_66949(class_2338 arg0)
m_dazvizpd(C_hynzadkk arg0)
setTestBlockPos(BlockPos testBlockPos)
m_dazvizpd(BlockPos pos)
public GameTestInfo
a(int arg0)
startExecution(int arg0)
method_23634(int arg0)
m_bpbhcbji(int arg0)
startCountdown(int additionalExpectedStopTime)
startCountdown(int arg0)
public void
a()
placeStructure()
method_56213()
m_gbxnkzzc()
initializeImmediately()
public void
a(sv arg0)
tick(GameTestRunner arg0)
method_22165(class_4520 arg0)
m_dyzxadjo(C_zehlpsdx arg0)
tick(TestRunContext context)
tick(TestUtil arg0)
private void
E()
tickInternal()
method_33315()
m_pnghyswr()
tickTests()
tickTests()
private void
F()
startTest()
method_23639()
m_pzmifyhz()
start()
start()
public void
a(long arg0, Runnable arg1)
setRunAtTickTime(long arg0, Runnable arg1)
method_36060(long arg0, Runnable arg1)
m_vntlfywv(long arg0, Runnable arg1)
runAtTick(long tick, Runnable runnable)
runAtTick(long tick, Runnable runnable)
public ResourceLocation
b()
id()
method_66951()
m_zkmpjqcr()
getId()
public BlockPos
c()
getTestBlockPos()
method_22172()
m_wsjwuzzz()
getPos()
public BlockPos
d()
getTestOrigin()
method_64385()
m_ujrcswqs()
getOrigin()
public AABB
e()
getStructureBounds()
method_36062()
m_rnhqviwc()
getBoundingBox()
getBoundingBox()
public TestInstanceBlockEntity
f()
getTestInstanceBlockEntity()
method_66953()
m_qswjwrkl()
getTestInstanceBlockEntity()
public ServerLevel
g()
getLevel()
method_22176()
m_iqwgczmb()
getWorld()
getWorld()
public boolean
h()
hasSucceeded()
method_22177()
m_wizlbadc()
isPassed()
isPassed()
public boolean
i()
hasFailed()
method_22178()
m_xnccdubt()
isFailed()
isFailed()
public boolean
j()
hasStarted()
method_22179()
m_ysygmbjx()
isStarted()
isStarted()
public boolean
k()
isDone()
method_22180()
m_djxnapzc()
isCompleted()
isCompleted()
public long
l()
getRunTime()
method_36063()
m_ukhurglm()
getElapsedMilliseconds()
getElapsedMilliseconds()
private void
G()
finish()
method_23640()
m_nrcnweey()
complete()
complete()
public void
m()
succeed()
method_36064()
m_tdycbqpw()
completeIfSuccessful()
completeIfSuccessful()
public void
a(wy arg0)
fail(Component arg0)
method_67485(class_2561 arg0)
m_vnznhqsf(C_rdaqiwdt arg0)
fail(Text message)
public void
a(so arg0)
fail(GameTestException arg0)
method_22168(class_10751 arg0)
m_daugcudj(C_xggjaikv arg0)
fail(TestException exception)
public GameTestException
n()
getError()
method_22182()
m_oyrbpwjs()
getThrowable()
getThrowable()
public void
a(st arg0)
addListener(GameTestListener arg0)
method_22167(class_4518 arg0)
m_cnhpofyv(C_nvnirinq arg0)
addListener(TestListener listener)
addListener(TestListener listener)
public GameTestInfo
o()
prepareTestStructure()
method_22166()
m_kbsrtbpl()
init()
prepareTestStructure()
private TestInstanceBlockEntity
a(iu arg0, dsz arg1, arq arg2)
createTestInstanceBlock(BlockPos arg0, Rotation arg1, ServerLevel arg2)
method_66950(class_2338 arg0, class_2470 arg1, class_3218 arg2)
m_kvfoevpe(C_hynzadkk arg0, C_mboglirk arg1, C_bdwnwhiu arg2)
placeTestInstance(BlockPos pos, BlockRotation rotation, ServerWorld world)
m_kvfoevpe(BlockPos pos, BlockRotation rotation, ServerWorld world)
int
p()
getTick()
method_36065()
m_xsidzmjn()
getTick()
getTick()
GameTestSequence
q()
createSequence()
method_36066()
m_bpcnxmsm()
createTimedTaskRunner()
createTimedTaskRunner()
public boolean
r()
isRequired()
method_22183()
m_giejubvy()
isRequired()
isRequired()
public boolean
s()
isOptional()
method_22184()
m_sqlrdign()
isOptional()
isOptional()
public ResourceLocation
t()
getStructure()
method_66954()
m_splpegfe()
getStructure()
public Rotation
u()
getRotation()
method_29402()
m_llefkmgd()
getRotation()
getRotation()
public GameTestInstance
v()
getTest()
method_66955()
m_hwsnjmex()
getInstance()
public Holder$Reference<GameTestInstance>
w()
getTestHolder()
method_66956()
m_bnexgayg()
getInstanceEntry()
public int
x()
getTimeoutTicks()
method_36067()
m_ozjkeznl()
getTickLimit()
getTicksLeft()
public boolean
y()
isFlaky()
method_32241()
m_wrjdjkvm()
isFlaky()
isFlaky()
public int
z()
maxAttempts()
method_32242()
m_wzfspxut()
getMaxAttempts()
getMaxAttempts()
public int
A()
requiredSuccesses()
method_32243()
m_zxeybpte()
getRequiredSuccesses()
getRequiredSuccesses()
public RetryOptions
B()
retryOptions()
method_56215()
m_nhswmckg()
getTestAttemptConfig()
public Stream<GameTestListener>
C()
getListeners()
method_56209()
m_xwzvjulx()
streamListeners()
public GameTestInfo
D()
copyReset()
method_56210()
m_qxeequix()
copy()