Uses of Record Class
net.minecraft.test.TestData
Packages that use TestData
-
Uses of TestData in net.minecraft.test
Fields in net.minecraft.test declared as TestDataModifier and TypeFieldDescriptionprivate final TestData
<RegistryEntry<TestEnvironmentDefinition>> TestInstance.data
Fields in net.minecraft.test with type parameters of type TestDataModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<TestData<RegistryEntry<TestEnvironmentDefinition>>> TestData.CODEC
private final Map
<Identifier, TestData<RegistryKey<TestEnvironmentDefinition>>> TestEntry.tests
The field for thetests
record component.Methods in net.minecraft.test that return TestDataModifier and TypeMethodDescription<T> TestData
<T> TestData.applyToEnvironment
(Function<EnvironmentType, T> environmentFunction) protected TestData
<RegistryEntry<TestEnvironmentDefinition>> TestInstance.getData()
Methods in net.minecraft.test that return types with arguments of type TestDataModifier and TypeMethodDescriptionTestEntry.tests()
Returns the value of thetests
record component.Constructors in net.minecraft.test with parameters of type TestDataModifierConstructorDescriptionFunctionTestInstance
(RegistryKey<Consumer<TestContext>> function, TestData<RegistryEntry<TestEnvironmentDefinition>> data) TestEntry
(Identifier id, TestData<RegistryKey<TestEnvironmentDefinition>> data, Consumer<TestContext> function) protected
Constructor parameters in net.minecraft.test with type arguments of type TestDataModifierConstructorDescriptionTestEntry
(Map<Identifier, TestData<RegistryKey<TestEnvironmentDefinition>>> map, RegistryKey<Consumer<TestContext>> registryKey, Consumer<TestContext> function) TestEntry
(Map<Identifier, TestData<RegistryKey<TestEnvironmentDefinition>>> tests, Identifier functionId, Consumer<TestContext> function)