net.minecraft.gametest.framework

public class TestFunction

pa
net.minecraft.gametest.framework.TestFunction
net.minecraft.class_4529
net.minecraft.test.TestFunction
net.minecraft.src.C_4904_
net.minecraft.gametest.framework.GameTestHarnessTestFunction

Field summary

Modifier and TypeField
private final String
a
batchName
field_20583
batchId
f_128067_
private final String
b
testName
field_20584
templatePath
f_128068_
private final String
c
structureName
field_20585
templateName
f_128069_
private final boolean
d
required
field_20586
required
f_128070_
private final int
e
maxAttempts
field_27814
maxAttempts
f_177798_
private final int
f
requiredSuccesses
field_27815
requiredSuccesses
f_177799_
private final Consumer<GameTestHelper>
g
function
field_20587
starter
f_128071_
private final int
h
maxTicks
field_20588
tickLimit
f_128072_
private final long
i
setupTicks
field_21460
duration
f_128073_
private final Rotation
j
rotation
field_25306
rotation
f_128074_

Constructor summary

ModifierConstructor
public (String batchId, String templatePath, String templateName, int tickLimit, long duration, boolean required, Consumer<GameTestHelper> starter)
public (String batchId, String templatePath, String templateName, Rotation rotation, int tickLimit, long duration, boolean required, Consumer<GameTestHelper> starter)
public (String batchId, String templatePath, String templateName, Rotation rotation, int tickLimit, long duration, boolean required, int requiredSuccesses, int maxAttempts, Consumer<GameTestHelper> starter)

Method summary

Modifier and TypeMethod
public void
a(oi arg0)
run(GameTestHelper arg0)
method_22297(class_4516 arg0)
start(TestContext context)
m_128076_(C_4888_ arg0)
public String
a()
getTestName()
method_22296()
getTemplatePath()
m_128075_()
public String
b()
getStructureName()
method_22298()
getTemplateName()
m_128078_()
public int
c()
getMaxTicks()
method_22299()
getTickLimit()
m_128079_()
public boolean
d()
isRequired()
method_22300()
isRequired()
m_128080_()
public String
e()
getBatchName()
method_22301()
getBatchId()
m_128081_()
public long
f()
getSetupTicks()
method_23649()
getDuration()
m_128082_()
public Rotation
g()
getRotation()
method_29424()
getRotation()
m_128083_()
public boolean
h()
isFlaky()
method_32257()
isFlaky()
m_177828_()
public int
i()
getMaxAttempts()
method_32258()
getMaxAttempts()
m_177829_()
public int
j()
getRequiredSuccesses()
method_32259()
getRequiredSuccesses()
m_177830_()