Uses of Class
net.minecraft.gametest.framework.GameTestHelper
Packages that use GameTestHelper
-
Uses of GameTestHelper in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type GameTestHelperModifier and TypeFieldDescriptionstatic final Registry<Consumer<GameTestHelper>> BuiltInRegistries.TEST_FUNCTIONstatic final ResourceKey<Registry<Consumer<GameTestHelper>>> Registries.TEST_FUNCTION -
Uses of GameTestHelper in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework with type parameters of type GameTestHelperModifier and TypeFieldDescriptionstatic final ResourceKey<Consumer<GameTestHelper>> BuiltinTestFunctions.ALWAYS_PASSstatic final Consumer<GameTestHelper> BuiltinTestFunctions.ALWAYS_PASS_INSTANCEprivate final ResourceKey<Consumer<GameTestHelper>> FunctionGameTestInstance.functionprivate final Consumer<GameTestHelper> GeneratedTest.functionThe field for thefunctionrecord component.private final ResourceKey<Consumer<GameTestHelper>> GeneratedTest.functionKeyThe field for thefunctionKeyrecord component.Methods in net.minecraft.gametest.framework that return types with arguments of type GameTestHelperModifier and TypeMethodDescriptionstatic Consumer<GameTestHelper> BuiltinTestFunctions.bootstrap(Registry<Consumer<GameTestHelper>> pRegistry) private static ResourceKey<Consumer<GameTestHelper>> private ResourceKey<Consumer<GameTestHelper>> FunctionGameTestInstance.function()GeneratedTest.function()Returns the value of thefunctionrecord component.GeneratedTest.functionKey()Returns the value of thefunctionKeyrecord component.Methods in net.minecraft.gametest.framework with parameters of type GameTestHelperModifier and TypeMethodDescriptionprivate BlockPosBlockBasedTestInstance.findStartBlock(GameTestHelper pHelper) BlockBasedTestInstance.findTestBlocks(GameTestHelper pHelper, TestBlockMode pMode) private voidBlockBasedTestInstance.forAllTriggeredTestBlocks(GameTestHelper pHelper, TestBlockMode pMode, Consumer<TestBlockEntity> pOnTrigger) voidBlockBasedTestInstance.run(GameTestHelper pHelper) voidFunctionGameTestInstance.run(GameTestHelper pHelper) abstract voidGameTestInstance.run(GameTestHelper pHelper) Method parameters in net.minecraft.gametest.framework with type arguments of type GameTestHelperModifier and TypeMethodDescriptionstatic Consumer<GameTestHelper> BuiltinTestFunctions.bootstrap(Registry<Consumer<GameTestHelper>> pRegistry) voidBuiltinTestFunctions.load(BiConsumer<ResourceKey<Consumer<GameTestHelper>>, Consumer<GameTestHelper>> pLoader) voidBuiltinTestFunctions.load(BiConsumer<ResourceKey<Consumer<GameTestHelper>>, Consumer<GameTestHelper>> pLoader) abstract voidTestFunctionLoader.load(BiConsumer<ResourceKey<Consumer<GameTestHelper>>, Consumer<GameTestHelper>> pLoader) abstract voidTestFunctionLoader.load(BiConsumer<ResourceKey<Consumer<GameTestHelper>>, Consumer<GameTestHelper>> pLoader) static voidTestFunctionLoader.runLoaders(Registry<Consumer<GameTestHelper>> pRegistry) Constructor parameters in net.minecraft.gametest.framework with type arguments of type GameTestHelperModifierConstructorDescriptionFunctionGameTestInstance(ResourceKey<Consumer<GameTestHelper>> p_401257_, TestData<Holder<TestEnvironmentDefinition>> p_397689_) GeneratedTest(Map<ResourceLocation, TestData<ResourceKey<TestEnvironmentDefinition>>> tests, ResourceKey<Consumer<GameTestHelper>> functionKey, Consumer<GameTestHelper> function) Creates an instance of aGeneratedTestrecord class.GeneratedTest(Map<ResourceLocation, TestData<ResourceKey<TestEnvironmentDefinition>>> tests, ResourceKey<Consumer<GameTestHelper>> functionKey, Consumer<GameTestHelper> function) Creates an instance of aGeneratedTestrecord class.GeneratedTest(Map<ResourceLocation, TestData<ResourceKey<TestEnvironmentDefinition>>> p_397881_, ResourceLocation p_397734_, Consumer<GameTestHelper> p_397974_) GeneratedTest(ResourceLocation p_397873_, TestData<ResourceKey<TestEnvironmentDefinition>> p_397065_, Consumer<GameTestHelper> p_397393_)