Uses of Class
net.minecraft.gametest.framework.GameTestHelper
Packages that use GameTestHelper
Package
Description
-
Uses of GameTestHelper in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework with type parameters of type GameTestHelperMethods in net.minecraft.gametest.framework with parameters of type GameTestHelperConstructor parameters in net.minecraft.gametest.framework with type arguments of type GameTestHelperModifierConstructorDescriptionTestFunction
(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
Methods in net.neoforged.neoforge.oldtest.misc with parameters of type GameTestHelperModifier 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
Subclasses of GameTestHelper in net.neoforged.testframework.gametestFields in net.neoforged.testframework.gametest declared as GameTestHelperFields in net.neoforged.testframework.gametest with type parameters of type GameTestHelperModifier and TypeFieldDescriptionprivate final Consumer<GameTestHelper>
GameTestData.function
The field for thefunction
record component.Methods in net.neoforged.testframework.gametest that return types with arguments of type GameTestHelperModifier and TypeMethodDescriptionGameTestData.function()
Returns the value of thefunction
record component.Constructors in net.neoforged.testframework.gametest with parameters of type GameTestHelperModifierConstructorDescriptionGameTestPlayer
(MinecraftServer server, ServerLevel level, com.mojang.authlib.GameProfile profile, ClientInformation information, GameTestHelper helper) Constructor parameters in net.neoforged.testframework.gametest with type arguments of type GameTestHelperModifierConstructorDescriptionGameTestData
(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
Methods in net.neoforged.testframework.impl with parameters of type GameTestHelperModifier and TypeMethodDescriptionstatic void
ReflectionUtils.addListener
(GameTestHelper helper, GameTestListener listener) -
Uses of GameTestHelper in net.neoforged.testframework.impl.test
Methods in net.neoforged.testframework.impl.test with parameters of type GameTestHelperModifier and TypeMethodDescriptionprotected void
AbstractTest.Dynamic.onGameTest
(GameTestHelper helper) protected void
AbstractTest.onGameTest
(GameTestHelper helper)