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 GameTestHelperModifier and TypeFieldDescriptionprivate final Consumer
<GameTestHelper> TestFunction.function
The field for thefunction
record component.Methods in net.minecraft.gametest.framework that return types with arguments of type GameTestHelperModifier and TypeMethodDescriptionTestFunction.function()
Returns the value of thefunction
record component.Methods 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 batchName, String testName, String structureName, Rotation rotation, int maxTicks, long setupTicks, boolean required, boolean manualOnly, int maxAttempts, int requiredSuccesses, boolean skyAccess, Consumer<GameTestHelper> function) Creates an instance of aTestFunction
record class.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.debug
Subclasses of GameTestHelper in net.neoforged.neoforge.debug -
Uses of GameTestHelper in net.neoforged.neoforge.debug.crafting
Methods in net.neoforged.neoforge.debug.crafting with parameters of type GameTestHelperModifier and TypeMethodDescription(package private) static void
IngredientTests.customIngredientNotEmpty
(GameTestHelper helper) -
Uses of GameTestHelper in net.neoforged.neoforge.debug.fluid.crafting
Methods in net.neoforged.neoforge.debug.fluid.crafting with parameters of type GameTestHelperModifier and TypeMethodDescription(package private) static void
FluidIngredientTests.customFluidIngredientsHasNoFluids
(GameTestHelper helper) (package private) static void
FluidIngredientTests.fluidIngredientDataPartialMatchWorks
(GameTestHelper helper) (package private) static void
FluidIngredientTests.fluidIngredientDataStrictMatchWorks
(GameTestHelper helper) (package private) static void
FluidIngredientTests.singleFluidIngredientIgnoresSizeAndData
(GameTestHelper helper) (package private) static void
FluidIngredientTests.sizedFluidIngredientMatching
(GameTestHelper helper) (package private) static void
FluidIngredientTests.sizedFluidIngredientSerialization
(GameTestHelper helper) (package private) static void
FluidIngredientTests.testFluidIngredientEmptiness
(GameTestHelper helper) -
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
Methods in net.neoforged.testframework with type parameters of type GameTestHelperModifier and TypeMethodDescription<T extends GameTestHelper>
voidDynamicTest.onGameTest
(Class<T> helperType, Consumer<T> consumer) Registers a listener to run when the GameTest version of this test is run. -
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
(@Nullable String batchName, String structureName, boolean required, int maxAttempts, int requiredSuccesses, Consumer<GameTestHelper> function, int maxTicks, long setupTicks, Rotation rotation, boolean skyAccess) Creates an instance of aGameTestData
record class. -
Uses of GameTestHelper in net.neoforged.testframework.impl
Classes in net.neoforged.testframework.impl with type parameters of type GameTestHelperMethods in net.neoforged.testframework.impl with type parameters of type GameTestHelperMethods 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
Fields in net.neoforged.testframework.impl.test with type parameters of type GameTestHelperModifier and TypeFieldDescriptionprivate final Class
<? extends GameTestHelper> MethodBasedGameTestTest.helperType
private final List
<Consumer<GameTestHelper>> AbstractTest.Dynamic.onGameTest
Methods in net.neoforged.testframework.impl.test with type parameters of type GameTestHelperModifier and TypeMethodDescription<T extends GameTestHelper>
voidAbstractTest.Dynamic.onGameTest
(Class<T> helperType, Consumer<T> consumer) private <T extends GameTestHelper>
voidAbstractTest.Dynamic.onGameTest
(GameTestHelperFactory<T> factory, Consumer<T> consumer) 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) Constructor parameters in net.neoforged.testframework.impl.test with type arguments of type GameTestHelperModifierConstructorDescriptionMethodBasedGameTestTest
(Method method, Class<? extends GameTestHelper> helperType)