Package net.minecraft.gametest.framework
Class TestFunction
java.lang.Object
net.minecraft.gametest.framework.TestFunction
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionTestFunction(String p_177801_, String p_177802_, String p_177803_, int p_177804_, long p_177805_, boolean p_177806_, Consumer<GameTestHelper> p_177807_) TestFunction(String p_177809_, String p_177810_, String p_177811_, Rotation p_177812_, int p_177813_, long p_177814_, boolean p_177815_, int p_177816_, int p_177817_, Consumer<GameTestHelper> p_177818_) TestFunction(String p_177820_, String p_177821_, String p_177822_, Rotation p_177823_, int p_177824_, long p_177825_, boolean p_177826_, Consumer<GameTestHelper> p_177827_)  - 
Method Summary
Modifier and TypeMethodDescriptionintintintlongbooleanisFlaky()booleanvoidrun(GameTestHelper p_128077_) toString() 
- 
Field Details
- 
batchName
 - 
testName
 - 
structureName
 - 
required
private final boolean required - 
maxAttempts
private final int maxAttempts - 
requiredSuccesses
private final int requiredSuccesses - 
function
 - 
maxTicks
private final int maxTicks - 
setupTicks
private final long setupTicks - 
rotation
 
 - 
 - 
Constructor Details
- 
TestFunction
public TestFunction(String p_177801_, String p_177802_, String p_177803_, int p_177804_, long p_177805_, boolean p_177806_, Consumer<GameTestHelper> p_177807_)  - 
TestFunction
 - 
TestFunction
 
 - 
 - 
Method Details
- 
run
 - 
getTestName
 - 
getStructureName
 - 
toString
 - 
getMaxTicks
public int getMaxTicks() - 
isRequired
public boolean isRequired() - 
getBatchName
 - 
getSetupTicks
public long getSetupTicks() - 
getRotation
 - 
isFlaky
public boolean isFlaky() - 
getMaxAttempts
public int getMaxAttempts() - 
getRequiredSuccesses
public int getRequiredSuccesses() 
 -