Uses of Class
net.minecraft.gametest.framework.GameTestInstance
Packages that use GameTestInstance
Package
Description
-
Uses of GameTestInstance in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type GameTestInstanceModifier and TypeFieldDescriptionstatic final ResourceKey
<Registry<GameTestInstance>> Registries.TEST_INSTANCE
static final Registry
<com.mojang.serialization.MapCodec<? extends GameTestInstance>> BuiltInRegistries.TEST_INSTANCE_TYPE
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends GameTestInstance>>> Registries.TEST_INSTANCE_TYPE
-
Uses of GameTestInstance in net.minecraft.gametest.framework
Subclasses of GameTestInstance in net.minecraft.gametest.frameworkFields in net.minecraft.gametest.framework with type parameters of type GameTestInstanceModifier and TypeFieldDescriptionstatic final ResourceKey
<GameTestInstance> GameTestInstances.ALWAYS_PASS
static final com.mojang.serialization.Codec
<GameTestInstance> GameTestInstance.DIRECT_CODEC
private static final Set
<Holder.Reference<GameTestInstance>> FailedTestTracker.LAST_FAILED_TESTS
private final Holder.Reference
<GameTestInstance> GameTestInfo.test
private final UnaryOperator
<Supplier<Stream<Holder.Reference<GameTestInstance>>>> TestFinder.Builder.testFinderWrapper
Methods in net.minecraft.gametest.framework that return GameTestInstanceMethods in net.minecraft.gametest.framework that return types with arguments of type GameTestInstanceModifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends GameTestInstance> GameTestInstance.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends GameTestInstance>> p_397652_) abstract com.mojang.serialization.MapCodec
<? extends GameTestInstance> GameTestInstance.codec()
private static ResourceKey
<GameTestInstance> TestFinder.findTests()
TestInstanceFinder.findTests()
static Stream
<Holder.Reference<GameTestInstance>> FailedTestTracker.getLastFailedTests()
GameTestInfo.getTestHolder()
static Stream
<Holder.Reference<GameTestInstance>> GameTestServer.getTestsForSelection
(RegistryAccess pRegistries, String pSelection) private static com.mojang.serialization.MapCodec
<? extends GameTestInstance> GameTestInstance.register
(Registry<com.mojang.serialization.MapCodec<? extends GameTestInstance>> p_397158_, String p_397123_, com.mojang.serialization.MapCodec<? extends GameTestInstance> p_397461_) Method parameters in net.minecraft.gametest.framework with type arguments of type GameTestInstanceModifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends GameTestInstance> GameTestInstance.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends GameTestInstance>> p_397652_) static void
GameTestInstances.bootstrap
(BootstrapContext<GameTestInstance> pContext) TestFinder.Builder.byResourceSelection
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_397078_, Collection<Holder.Reference<GameTestInstance>> p_397871_) GameTestBatchFactory.TestDecorator.decorate
(Holder.Reference<GameTestInstance> pInstance, ServerLevel pLevel) static List
<GameTestBatch> GameTestBatchFactory.divideIntoBatches
(Collection<Holder.Reference<GameTestInstance>> pInstances, GameTestBatchFactory.TestDecorator pDecorator, ServerLevel pLevel) private static int
TestCommand.exportTestStructure
(CommandSourceStack pSource, Holder<GameTestInstance> pTestInstance) private static com.mojang.serialization.MapCodec
<? extends GameTestInstance> GameTestInstance.register
(Registry<com.mojang.serialization.MapCodec<? extends GameTestInstance>> p_397158_, String p_397123_, com.mojang.serialization.MapCodec<? extends GameTestInstance> p_397461_) private static com.mojang.serialization.MapCodec
<? extends GameTestInstance> GameTestInstance.register
(Registry<com.mojang.serialization.MapCodec<? extends GameTestInstance>> p_397158_, String p_397123_, com.mojang.serialization.MapCodec<? extends GameTestInstance> p_397461_) static void
FailedTestTracker.rememberFailedTest
(Holder.Reference<GameTestInstance> pTest) private static Stream
<GameTestInfo> GameTestServer.rotateAndMultiply
(Holder.Reference<GameTestInstance> pTest, ServerLevel pLevel) Constructor parameters in net.minecraft.gametest.framework with type arguments of type GameTestInstanceModifierConstructorDescriptionprivate
Builder
(UnaryOperator<Supplier<Stream<Holder.Reference<GameTestInstance>>>> pTestFinderWrapper, UnaryOperator<Supplier<Stream<BlockPos>>> pStructureBlockPosFinderWrapper) GameTestInfo
(Holder.Reference<GameTestInstance> pTest, Rotation pRotation, ServerLevel pLevel, RetryOptions pRetryOptions) -
Uses of GameTestInstance in net.minecraft.network.protocol.game
Constructor parameters in net.minecraft.network.protocol.game with type arguments of type GameTestInstanceModifierConstructorDescriptionServerboundTestInstanceBlockActionPacket
(BlockPos p_397563_, ServerboundTestInstanceBlockActionPacket.Action p_397686_, Optional<ResourceKey<GameTestInstance>> p_397885_, Vec3i p_397965_, Rotation p_397552_, boolean p_397584_) -
Uses of GameTestInstance in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity with type parameters of type GameTestInstanceModifier and TypeFieldDescriptionprivate final Optional
<ResourceKey<GameTestInstance>> TestInstanceBlockEntity.Data.test
The field for thetest
record component.Methods in net.minecraft.world.level.block.entity that return types with arguments of type GameTestInstanceModifier and TypeMethodDescriptionprivate Optional
<Holder.Reference<GameTestInstance>> TestInstanceBlockEntity.getTestHolder()
TestInstanceBlockEntity.Data.test()
Returns the value of thetest
record component.TestInstanceBlockEntity.test()
Method parameters in net.minecraft.world.level.block.entity with type arguments of type GameTestInstanceModifier and TypeMethodDescriptionTestInstanceBlockEntity.getStructureSize
(ServerLevel pLevel, ResourceKey<GameTestInstance> pTestKey) private static Optional
<StructureTemplate> TestInstanceBlockEntity.getStructureTemplate
(ServerLevel pLevel, ResourceKey<GameTestInstance> pTestKey) Constructor parameters in net.minecraft.world.level.block.entity with type arguments of type GameTestInstanceModifierConstructorDescriptionData
(Optional<ResourceKey<GameTestInstance>> test, Vec3i size, Rotation rotation, boolean ignoreEntities, TestInstanceBlockEntity.Status status, Optional<Component> errorMessage) Creates an instance of aData
record class. -
Uses of GameTestInstance in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event with type parameters of type GameTestInstanceModifier and TypeFieldDescriptionprivate final WritableRegistry
<GameTestInstance> RegisterGameTestsEvent.testsRegistry
Methods in net.neoforged.neoforge.event with parameters of type GameTestInstanceModifier and TypeMethodDescriptionvoid
RegisterGameTestsEvent.registerTest
(ResourceLocation name, GameTestInstance test) Method parameters in net.neoforged.neoforge.event with type arguments of type GameTestInstanceModifier and TypeMethodDescriptionvoid
RegisterGameTestsEvent.registerTest
(ResourceLocation name, Function<TestData<Holder<TestEnvironmentDefinition>>, GameTestInstance> factory, TestData<Holder<TestEnvironmentDefinition>> testData) -
Uses of GameTestInstance in net.neoforged.testframework.impl
Subclasses of GameTestInstance in net.neoforged.testframework.implModifier and TypeClassDescription(package private) static final class
Fields in net.neoforged.testframework.impl with type parameters of type GameTestInstanceModifier and TypeFieldDescriptionstatic final DeferredHolder
<com.mojang.serialization.MapCodec<? extends GameTestInstance>, com.mojang.serialization.MapCodec<GameTestRegistration.Instance>> TestFrameworkMod.DELEGATING_INSTANCE
static final DeferredRegister
<com.mojang.serialization.MapCodec<? extends GameTestInstance>> TestFrameworkMod.TEST_INSTANCES
Methods in net.neoforged.testframework.impl that return types with arguments of type GameTestInstanceModifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec
<? extends GameTestInstance> GameTestRegistration.Instance.codec()