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.dataFields in net.minecraft.test with type parameters of type TestDataModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<TestData<RegistryEntry<TestEnvironmentDefinition>>> TestData.CODECprivate final Map<Identifier, TestData<RegistryKey<TestEnvironmentDefinition>>> TestEntry.testsThe field for thetestsrecord 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 thetestsrecord 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) protectedConstructor 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)