Uses of Interface
net.neoforged.testframework.TestFramework
Package
Description
-
Uses of TestFramework in net.neoforged.neoforge.debug.entity
Modifier and TypeMethodDescription(package private) static void
EntityDataSerializerTest.register
(TestFramework framework) -
Uses of TestFramework in net.neoforged.neoforge.debug.loot
Modifier and TypeMethodDescription(package private) static void
GlobalLootModifiersTest.init
(TestFramework framework) -
Uses of TestFramework in net.neoforged.testframework
Modifier and TypeMethodDescriptionDynamicTest.framework()
Returns the framework this test is linked to.Modifier 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
Modifier and TypeFieldDescriptionprivate final TestFramework
TestEnabledIngredient.framework
private final TestFramework
TestEnabledLootCondition.framework
The field for theframework
record component.Modifier and TypeMethodDescriptionTestEnabledLootCondition.framework()
Returns the value of theframework
record component.ModifierConstructorDescriptionTestEnabledIngredient
(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
Modifier and TypeInterfaceDescriptioninterface
Interface with directly mutating methods forTestFrameworks
.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<TestFramework>
MutableTestFramework.REFERENCE_CODEC
-
Uses of TestFramework in net.neoforged.testframework.impl.test
Modifier and TypeMethodDescriptionvoid
AbstractTest.init
(TestFramework framework) void
MethodBasedGameTestTest.init
(TestFramework framework) void
MethodBasedTest.init
(TestFramework framework)