Uses of Class
net.minecraft.gametest.framework.GameTestHelper
Package
Description
-
Uses of GameTestHelper in net.minecraft.gametest.framework
ModifierConstructorDescriptionTestFunction
(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_) -
Uses of GameTestHelper in net.neoforged.neoforge.oldtest.misc
Modifier and TypeMethodDescriptionstatic void
GameTestTest.testEnergyStorage
(GameTestHelper helper) static void
GameTestTest.testHopperPickup
(GameTestHelper helper) static void
GameTestTest.testWood
(GameTestHelper helper) An example game test -
Uses of GameTestHelper in net.neoforged.testframework.gametest
Modifier and TypeFieldDescriptionprivate final Consumer<GameTestHelper>
GameTestData.function
The field for thefunction
record component.Modifier and TypeMethodDescriptionGameTestData.function()
Returns the value of thefunction
record component.ModifierConstructorDescriptionGameTestPlayer
(MinecraftServer server, ServerLevel level, com.mojang.authlib.GameProfile profile, ClientInformation information, GameTestHelper helper) ModifierConstructorDescriptionGameTestData
(String batchName, String structureName, boolean required, int maxAttempts, int requiredSuccesses, Consumer<GameTestHelper> function, int maxTicks, long setupTicks, Rotation rotation) Creates an instance of aGameTestData
record class. -
Uses of GameTestHelper in net.neoforged.testframework.impl
Modifier and TypeMethodDescriptionstatic void
ReflectionUtils.addListener
(GameTestHelper helper, GameTestListener listener) -
Uses of GameTestHelper in net.neoforged.testframework.impl.test
Modifier and TypeMethodDescriptionprotected void
AbstractTest.Dynamic.onGameTest
(GameTestHelper helper) protected void
AbstractTest.onGameTest
(GameTestHelper helper)