net.minecraft.test

public class GameTestState

sz
net.minecraft.gametest.framework.GameTestInfo
net.minecraft.class_4517
net.minecraft.test.GameTestState
net.minecraft.unmapped.C_agwojffm
net.minecraft.test.GameTestState
net.minecraft.src.C_4889_

Field summary

Modifier and TypeField
private final RegistryEntry$Reference<TestInstance>
a
test
field_56173
instanceEntry
f_sqzncleg
instanceReference
f_381510_
private BlockPos
b
testBlockPos
field_56174
testBlockPos
f_huhwhepw
pos
f_380197_
private final ServerWorld
c
level
field_20561
world
f_czxnhwhd
world
f_127600_
private final Collection<TestListener>
d
listeners
field_20562
listeners
f_jxoiaeip
listeners
f_127601_
private final int
e
timeoutTicks
field_20563
tickLimit
f_qwmjtgds
ticksLeft
f_127602_
private final Collection<TimedTaskRunner>
f
sequences
field_21452
timedTaskRunners
f_cyllvwin
timedTaskRunners
f_127603_
private final it.unimi.dsi.fastutil.objects.Object2LongMap<Runnable>
g
runAtTickTimeMap
field_21453
ticksByRunnables
f_esamtawu
ticksByRunnables
f_127604_
private boolean
h
placedStructure
field_47173
initialized
f_aptnrqfd
structurePlaced
f_303273_
private boolean
i
chunksLoaded
field_47174
tickedOnce
f_ubhmztut
chunksLoaded
f_303601_
private int
j
tickCount
field_21455
tick
f_cncaolaa
tick
f_127606_
private boolean
k
started
field_20565
started
f_zslsvvtu
started
f_127607_
private final TestAttemptConfig
l
retryOptions
field_48469
testAttemptConfig
f_xiheryfz
retryConfig
f_314573_
private final com.google.common.base.Stopwatch
m
timer
field_21456
stopwatch
f_iqjevdoe
stopwatch
f_127608_
private boolean
n
done
field_20567
completed
f_zphgfhwv
completed
f_127609_
private final BlockRotation
o
extraRotation
field_56175
rotation
f_hgdnqoqj
rotation
f_381030_
private TestException
p
error
field_20569
exception
f_cykwpirb
failure
f_127611_
private TestInstanceBlockEntity
q
testInstanceBlockEntity
field_56176
blockEntity
f_otnwlnho
blockEntity
f_379959_

Constructor summary

ModifierConstructor
public (RegistryEntry$Reference<TestInstance> instanceEntry, BlockRotation rotation, ServerWorld world, TestAttemptConfig testAttemptConfig)

Method summary

Modifier and TypeMethod
public void
a(jb arg0)
setTestBlockPos(BlockPos arg0)
method_66949(class_2338 arg0)
setTestBlockPos(BlockPos testBlockPos)
m_dazvizpd(C_hynzadkk arg0)
setPos(BlockPos pos)
m_387708_(C_4675_ arg0)
public GameTestState
a(int arg0)
startExecution(int arg0)
method_23634(int arg0)
startCountdown(int additionalExpectedStopTime)
m_bpbhcbji(int arg0)
startCountdown(int additionalSetupTicks)
m_127616_(int arg0)
public void
a()
placeStructure()
method_56213()
initializeImmediately()
m_gbxnkzzc()
placeStructure()
m_322668_()
public void
a(te arg0)
tick(GameTestRunner arg0)
method_22165(class_4520 arg0)
tick(TestRunContext context)
m_dyzxadjo(C_zehlpsdx arg0)
tick(TestsRunner runner)
m_127628_(C_4892_ arg0)
private void
E()
tickInternal()
method_33315()
tickTests()
m_pnghyswr()
tickTests()
m_177470_()
private void
F()
startTest()
method_23639()
start()
m_pzmifyhz()
start()
m_127649_()
public void
a(long o, Runnable arg1)
setRunAtTickTime(long arg0, Runnable arg1)
method_36060(long arg0, Runnable arg1)
runAtTick(long tick, Runnable runnable)
m_vntlfywv(long arg0, Runnable arg1)
runAtTick(long tick, Runnable runnable)
m_177472_(long p_177474_, Runnable arg1)
public Identifier
b()
id()
method_66951()
getId()
m_zkmpjqcr()
getInstanceId()
m_386177_()
public BlockPos
c()
getTestBlockPos()
method_22172()
getPos()
m_wsjwuzzz()
getPos()
m_386801_()
public BlockPos
d()
getTestOrigin()
method_64385()
getOrigin()
m_ujrcswqs()
getStructurePos()
m_357329_()
public Box
e()
getStructureBounds()
method_36062()
getBoundingBox()
m_rnhqviwc()
getBoundingBox()
m_177484_()
public TestInstanceBlockEntity
f()
getTestInstanceBlockEntity()
method_66953()
getTestInstanceBlockEntity()
m_qswjwrkl()
getBlockEntity()
m_383925_()
public ServerWorld
g()
getLevel()
method_22176()
getWorld()
m_iqwgczmb()
getWorld()
m_127637_()
public boolean
h()
hasSucceeded()
method_22177()
isPassed()
m_wizlbadc()
isPassed()
m_127638_()
public boolean
i()
hasFailed()
method_22178()
isFailed()
m_xnccdubt()
isFailed()
m_127639_()
public boolean
j()
hasStarted()
method_22179()
isStarted()
m_ysygmbjx()
isStarted()
m_127640_()
public boolean
k()
isDone()
method_22180()
isCompleted()
m_djxnapzc()
isCompleted()
m_127641_()
public long
l()
getRunTime()
method_36063()
getElapsedMilliseconds()
m_ukhurglm()
getElapsedMilliseconds()
m_177485_()
private void
G()
finish()
method_23640()
complete()
m_nrcnweey()
complete()
m_127650_()
public void
m()
succeed()
method_36064()
completeIfSuccessful()
m_tdycbqpw()
completeIfSuccessful()
m_177486_()
public void
a(xo arg0)
fail(Component arg0)
method_67485(class_2561 arg0)
fail(Text message)
m_vnznhqsf(C_rdaqiwdt arg0)
fail(Text failure)
m_384652_(C_4996_ arg0)
public void
a(sx arg0)
fail(GameTestException arg0)
method_22168(class_10751 arg0)
fail(TestException exception)
m_daugcudj(C_xggjaikv arg0)
fail(TranslatableException failure)
m_127622_(C_379258_ arg0)
public TestException
n()
getError()
method_22182()
getThrowable()
m_oyrbpwjs()
getFailure()
m_127642_()
public void
a(tc arg0)
addListener(GameTestListener arg0)
method_22167(class_4518 arg0)
addListener(TestListener listener)
m_cnhpofyv(C_nvnirinq arg0)
addListener(TestListener listener)
m_127624_(C_4890_ arg0)
public GameTestState
o()
prepareTestStructure()
method_22166()
init()
m_kbsrtbpl()
prepareTestStructure()
m_306517_()
private TestInstanceBlockEntity
a(jb o, dwu o, aub arg2)
createTestInstanceBlock(BlockPos arg0, Rotation arg1, ServerLevel arg2)
method_66950(class_2338 arg0, class_2470 arg1, class_3218 arg2)
placeTestInstance(BlockPos pos, BlockRotation rotation, ServerWorld world)
m_kvfoevpe(C_hynzadkk arg0, C_mboglirk arg1, C_bdwnwhiu arg2)
placeTestInstance(BlockPos pos, BlockRotation rotation, ServerWorld world)
m_387442_(C_4675_ p_391913_, C_1886_ p_395850_, C_12_ arg2)
int
p()
getTick()
method_36065()
getTick()
m_xsidzmjn()
getTick()
m_177488_()
TimedTaskRunner
q()
createSequence()
method_36066()
createTimedTaskRunner()
m_bpcnxmsm()
createTaskSequence()
m_177489_()
public boolean
r()
isRequired()
method_22183()
isRequired()
m_giejubvy()
isRequired()
m_127643_()
public boolean
s()
isOptional()
method_22184()
isOptional()
m_sqlrdign()
isOptional()
m_127644_()
public Identifier
t()
getStructure()
method_66954()
getStructure()
m_splpegfe()
getStructureId()
m_384218_()
public BlockRotation
u()
getRotation()
method_29402()
getRotation()
m_llefkmgd()
getRotation()
m_127646_()
public TestInstance
v()
getTest()
method_66955()
getInstance()
m_hwsnjmex()
getInstance()
m_386352_()
public RegistryEntry$Reference<TestInstance>
w()
getTestHolder()
method_66956()
getInstanceEntry()
m_bnexgayg()
getInstanceReference()
m_387911_()
public int
x()
getTimeoutTicks()
method_36067()
getTickLimit()
m_ozjkeznl()
getTicksLeft()
m_177490_()
public boolean
y()
isFlaky()
method_32241()
isFlaky()
m_wrjdjkvm()
isFlaky()
m_177491_()
public int
z()
maxAttempts()
method_32242()
getMaxAttempts()
m_wzfspxut()
getMaxAttempts()
m_177492_()
public int
A()
requiredSuccesses()
method_32243()
getRequiredSuccesses()
m_zxeybpte()
getRequiredSuccesses()
m_177493_()
public TestAttemptConfig
B()
retryOptions()
method_56215()
getTestAttemptConfig()
m_nhswmckg()
getRetryConfig()
m_324328_()
public Stream<TestListener>
C()
getListeners()
method_56209()
streamListeners()
m_xwzvjulx()
streamListeners()
m_324070_()
public GameTestState
D()
copyReset()
method_56210()
copy()
m_qxeequix()
copy()
m_325037_()