Uses of Class
net.minecraft.test.TestContext
-
Uses of TestContext in net.minecraft.test
Modifier and TypeFieldDescriptionprivate final Consumer
<TestContext> TestFunction.starter
The field for thestarter
record component.Modifier and TypeMethodDescriptionTestFunction.starter()
Returns the value of thestarter
record component.ModifierConstructorDescriptionTestFunction
(String batchId, String templatePath, String templateName, int tickLimit, long duration, boolean required, Consumer<TestContext> starter) TestFunction
(String batchId, String templatePath, String templateName, BlockRotation rotation, int tickLimit, long duration, boolean required, boolean bool, int int2, int int3, boolean bool2, Consumer<TestContext> consumer) TestFunction
(String batchId, String templatePath, String templateName, BlockRotation rotation, int tickLimit, long setupTicks, boolean required, Consumer<TestContext> starter)