Uses of Interface
net.neoforged.testframework.TestFramework
Packages that use TestFramework
Package
Description
-
Uses of TestFramework in net.neoforged.neoforge.debug.entity
Methods in net.neoforged.neoforge.debug.entity with parameters of type TestFrameworkModifier and TypeMethodDescription(package private) static void
EntityDataSerializerTest.register
(TestFramework framework) -
Uses of TestFramework in net.neoforged.neoforge.debug.loot
Methods in net.neoforged.neoforge.debug.loot with parameters of type TestFrameworkModifier and TypeMethodDescription(package private) static void
GlobalLootModifiersTest.init
(TestFramework framework) -
Uses of TestFramework in net.neoforged.testframework
Methods in net.neoforged.testframework that return TestFrameworkModifier and TypeMethodDescriptionDynamicTest.framework()
Returns the framework this test is linked to.Methods in net.neoforged.testframework with parameters of type TestFrameworkModifier and TypeMethodDescriptionvoid
Test.init
(TestFramework framework) This method is called when the test is registered to aTestFramework
.default void
TestListener.onDisabled
(TestFramework framework, Test test, Entity changer) This method is called when a test is disabled.default void
TestListener.onEnabled
(TestFramework framework, Test test, Entity changer) This method is called when a test is enabled.default void
TestListener.onStatusChange
(TestFramework framework, Test test, Test.Status oldStatus, Test.Status newStatus, Entity changer) This method is called when a test changes its status. -
Uses of TestFramework in net.neoforged.testframework.condition
Fields in net.neoforged.testframework.condition declared as TestFrameworkModifier and TypeFieldDescriptionprivate final TestFramework
TestEnabledIngredient.framework
private final TestFramework
TestEnabledLootCondition.framework
The field for theframework
record component.Methods in net.neoforged.testframework.condition that return TestFrameworkModifier and TypeMethodDescriptionTestEnabledLootCondition.framework()
Returns the value of theframework
record component.Constructors in net.neoforged.testframework.condition with parameters of type TestFrameworkModifierConstructorDescriptionTestEnabledIngredient
(Ingredient base, TestFramework framework, String testId) TestEnabledLootCondition
(TestFramework framework, String testId) Creates an instance of aTestEnabledLootCondition
record class. -
Uses of TestFramework in net.neoforged.testframework.impl
Subinterfaces of TestFramework in net.neoforged.testframework.implModifier and TypeInterfaceDescriptioninterface
Interface with directly mutating methods forTestFrameworks
.Classes in net.neoforged.testframework.impl that implement TestFrameworkFields in net.neoforged.testframework.impl with type parameters of type TestFrameworkModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<TestFramework>
MutableTestFramework.REFERENCE_CODEC
-
Uses of TestFramework in net.neoforged.testframework.impl.test
Fields in net.neoforged.testframework.impl.test declared as TestFrameworkMethods in net.neoforged.testframework.impl.test that return TestFrameworkMethods in net.neoforged.testframework.impl.test with parameters of type TestFrameworkModifier and TypeMethodDescriptionvoid
AbstractTest.init
(TestFramework framework) void
MethodBasedGameTestTest.init
(TestFramework framework) void
MethodBasedTest.init
(TestFramework framework)