Uses of Record Class
net.minecraft.gametest.framework.TestData
Packages that use TestData
-
Uses of TestData in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework declared as TestDataModifier and TypeFieldDescriptionprivate final TestData
<Holder<TestEnvironmentDefinition>> GameTestInstance.info
Fields in net.minecraft.gametest.framework with type parameters of type TestDataModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<TestData<Holder<TestEnvironmentDefinition>>> TestData.CODEC
private final Map
<ResourceLocation, TestData<ResourceKey<TestEnvironmentDefinition>>> GeneratedTest.tests
The field for thetests
record component.Methods in net.minecraft.gametest.framework that return TestDataModifier and TypeMethodDescriptionprotected TestData
<Holder<TestEnvironmentDefinition>> GameTestInstance.info()
<T> TestData
<T> TestData.map
(Function<EnvironmentType, T> p_397000_) Methods in net.minecraft.gametest.framework that return types with arguments of type TestDataModifier and TypeMethodDescriptionGeneratedTest.tests()
Returns the value of thetests
record component.Constructors in net.minecraft.gametest.framework with parameters of type TestDataModifierConstructorDescriptionBlockBasedTestInstance
(TestData<Holder<TestEnvironmentDefinition>> p_397064_) FunctionGameTestInstance
(ResourceKey<Consumer<GameTestHelper>> p_401257_, TestData<Holder<TestEnvironmentDefinition>> p_397689_) protected
GameTestInstance
(TestData<Holder<TestEnvironmentDefinition>> p_397684_) GeneratedTest
(ResourceLocation p_397873_, TestData<ResourceKey<TestEnvironmentDefinition>> p_397065_, Consumer<GameTestHelper> p_397393_) Constructor parameters in net.minecraft.gametest.framework with type arguments of type TestDataModifierConstructorDescriptionGeneratedTest
(Map<ResourceLocation, TestData<ResourceKey<TestEnvironmentDefinition>>> tests, ResourceKey<Consumer<GameTestHelper>> functionKey, Consumer<GameTestHelper> function) Creates an instance of aGeneratedTest
record class.GeneratedTest
(Map<ResourceLocation, TestData<ResourceKey<TestEnvironmentDefinition>>> p_397881_, ResourceLocation p_397734_, Consumer<GameTestHelper> p_397974_) -
Uses of TestData in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type TestDataModifier and TypeMethodDescriptionvoid
RegisterGameTestsEvent.registerTest
(ResourceLocation name, Function<TestData<Holder<TestEnvironmentDefinition>>, GameTestInstance> factory, TestData<Holder<TestEnvironmentDefinition>> testData) Method parameters in net.neoforged.neoforge.event with type arguments of type TestDataModifier and TypeMethodDescriptionvoid
RegisterGameTestsEvent.registerTest
(ResourceLocation name, Function<TestData<Holder<TestEnvironmentDefinition>>, GameTestInstance> factory, TestData<Holder<TestEnvironmentDefinition>> testData)