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>> p_397103_) 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 p_397254_) BlockBasedTestInstance.findTestBlocks
(GameTestHelper p_397394_, TestBlockMode p_397286_) private void
BlockBasedTestInstance.forAllTriggeredTestBlocks
(GameTestHelper p_397789_, TestBlockMode p_397661_, Consumer<TestBlockEntity> p_397861_) void
BlockBasedTestInstance.run
(GameTestHelper p_397754_) void
FunctionGameTestInstance.run
(GameTestHelper p_397443_) abstract void
GameTestInstance.run
(GameTestHelper p_397373_) Method parameters in net.minecraft.gametest.framework with type arguments of type GameTestHelperModifier and TypeMethodDescriptionstatic Consumer
<GameTestHelper> BuiltinTestFunctions.bootstrap
(Registry<Consumer<GameTestHelper>> p_397103_) void
BuiltinTestFunctions.load
(BiConsumer<ResourceKey<Consumer<GameTestHelper>>, Consumer<GameTestHelper>> p_397957_) void
BuiltinTestFunctions.load
(BiConsumer<ResourceKey<Consumer<GameTestHelper>>, Consumer<GameTestHelper>> p_397957_) abstract void
TestFunctionLoader.load
(BiConsumer<ResourceKey<Consumer<GameTestHelper>>, Consumer<GameTestHelper>> p_397280_) abstract void
TestFunctionLoader.load
(BiConsumer<ResourceKey<Consumer<GameTestHelper>>, Consumer<GameTestHelper>> p_397280_) static void
TestFunctionLoader.runLoaders
(Registry<Consumer<GameTestHelper>> p_397187_) 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_)