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.functionThe field for thefunctionrecord component.Methods in net.minecraft.gametest.framework that return types with arguments of type GameTestHelperModifier and TypeMethodDescriptionTestFunction.function()Returns the value of thefunctionrecord 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 aTestFunctionrecord 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 voidIngredientTests.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 voidFluidIngredientTests.customFluidIngredientsHasNoFluids(GameTestHelper helper) (package private) static voidFluidIngredientTests.fluidIngredientDataPartialMatchWorks(GameTestHelper helper) (package private) static voidFluidIngredientTests.fluidIngredientDataStrictMatchWorks(GameTestHelper helper) (package private) static voidFluidIngredientTests.singleFluidIngredientIgnoresSizeAndData(GameTestHelper helper) (package private) static voidFluidIngredientTests.sizedFluidIngredientMatching(GameTestHelper helper) (package private) static voidFluidIngredientTests.sizedFluidIngredientSerialization(GameTestHelper helper) (package private) static voidFluidIngredientTests.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 voidGameTestTest.testEnergyStorage(GameTestHelper helper) static voidGameTestTest.testHopperPickup(GameTestHelper helper) static voidGameTestTest.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.functionThe field for thefunctionrecord component.Methods in net.neoforged.testframework.gametest that return types with arguments of type GameTestHelperModifier and TypeMethodDescriptionGameTestData.function()Returns the value of thefunctionrecord 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 aGameTestDatarecord 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 voidReflectionUtils.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.helperTypeprivate final List<Consumer<GameTestHelper>> AbstractTest.Dynamic.onGameTestMethods 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 voidAbstractTest.Dynamic.onGameTest(GameTestHelper helper) protected voidAbstractTest.onGameTest(GameTestHelper helper) Constructor parameters in net.neoforged.testframework.impl.test with type arguments of type GameTestHelperModifierConstructorDescriptionMethodBasedGameTestTest(Method method, Class<? extends GameTestHelper> helperType)