Uses of Interface
net.neoforged.testframework.TestFramework
Package
Description
-
Uses of TestFramework in net.neoforged.neoforge.debug.capabilities
Modifier and TypeMethodDescription(package private) static void
ItemEnergyTests.init
(TestFramework framework) (package private) static void
ItemInventoryTests.init
(TestFramework framework) (package private) static void
FluidTemplatesTests.register
(TestFramework framework) -
Uses of TestFramework in net.neoforged.neoforge.debug.crafting
Modifier and TypeMethodDescription(package private) static void
IngredientTests.register
(TestFramework framework) -
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.neoforge.debug.resources
Modifier and TypeMethodDescriptionvoid
BulkKnownPackTest.Listener.onEnabled
(TestFramework framework, Test test, @Nullable Entity changer) -
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, @Nullable Entity changer) This method is called when a test is disabled.default void
TestListener.onEnabled
(TestFramework framework, Test test, @Nullable 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, @Nullable 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
The field for theframework
record component.private final TestFramework
TestEnabledLootCondition.framework
The field for theframework
record component.Modifier and TypeMethodDescriptionTestEnabledIngredient.framework()
Returns the value of theframework
record component.TestEnabledLootCondition.framework()
Returns the value of theframework
record component.ModifierConstructorDescriptionTestEnabledIngredient
(Ingredient base, TestFramework framework, String testId) Creates an instance of aTestEnabledIngredient
record class.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)