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_FUNCTION
static 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_PASS
static final Consumer
<GameTestHelper> BuiltinTestFunctions.ALWAYS_PASS_INSTANCE
private final ResourceKey
<Consumer<GameTestHelper>> FunctionGameTestInstance.function
private final Consumer
<GameTestHelper> GeneratedTest.function
The field for thefunction
record component.private final ResourceKey
<Consumer<GameTestHelper>> GeneratedTest.functionKey
The field for thefunctionKey
record 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 thefunction
record component.GeneratedTest.functionKey()
Returns the value of thefunctionKey
record component.Methods in net.minecraft.gametest.framework with parameters of type GameTestHelperModifier and TypeMethodDescriptionprivate BlockPos
BlockBasedTestInstance.findStartBlock
(GameTestHelper pHelper) BlockBasedTestInstance.findTestBlocks
(GameTestHelper pHelper, TestBlockMode pMode) private void
BlockBasedTestInstance.forAllTriggeredTestBlocks
(GameTestHelper pHelper, TestBlockMode pMode, Consumer<TestBlockEntity> pOnTrigger) void
BlockBasedTestInstance.run
(GameTestHelper pHelper) void
FunctionGameTestInstance.run
(GameTestHelper pHelper) abstract void
GameTestInstance.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) void
BuiltinTestFunctions.load
(BiConsumer<ResourceKey<Consumer<GameTestHelper>>, Consumer<GameTestHelper>> pLoader) void
BuiltinTestFunctions.load
(BiConsumer<ResourceKey<Consumer<GameTestHelper>>, Consumer<GameTestHelper>> pLoader) abstract void
TestFunctionLoader.load
(BiConsumer<ResourceKey<Consumer<GameTestHelper>>, Consumer<GameTestHelper>> pLoader) abstract void
TestFunctionLoader.load
(BiConsumer<ResourceKey<Consumer<GameTestHelper>>, Consumer<GameTestHelper>> pLoader) static void
TestFunctionLoader.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 aGeneratedTest
record class.GeneratedTest
(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_) GeneratedTest
(ResourceLocation p_397873_, TestData<ResourceKey<TestEnvironmentDefinition>> p_397065_, Consumer<GameTestHelper> p_397393_)