Uses of Class
net.minecraft.test.TestInstance
Packages that use TestInstance
Package
Description
-
Uses of TestInstance in net.minecraft.block.entity
Fields in net.minecraft.block.entity with type parameters of type TestInstanceModifier and TypeFieldDescriptionprivate final Optional
<RegistryKey<TestInstance>> TestInstanceBlockEntity.Data.test
The field for thetest
record component.Methods in net.minecraft.block.entity that return types with arguments of type TestInstanceModifier and TypeMethodDescriptionprivate Optional
<RegistryEntry.Reference<TestInstance>> TestInstanceBlockEntity.getTestEntry()
TestInstanceBlockEntity.getTestKey()
TestInstanceBlockEntity.Data.test()
Returns the value of thetest
record component.Method parameters in net.minecraft.block.entity with type arguments of type TestInstanceModifier and TypeMethodDescriptionTestInstanceBlockEntity.getStructureSize
(ServerWorld world, RegistryKey<TestInstance> testInstance) private static Optional
<StructureTemplate> TestInstanceBlockEntity.getStructureTemplate
(ServerWorld world, RegistryKey<TestInstance> testInstance) Constructor parameters in net.minecraft.block.entity with type arguments of type TestInstanceModifierConstructorDescriptionData
(Optional<RegistryKey<TestInstance>> optional, Vec3i vec3i, BlockRotation blockRotation, boolean bool, TestInstanceBlockEntity.Status status, Optional<Text> optional2) -
Uses of TestInstance in net.minecraft.network.packet.c2s.play
Constructor parameters in net.minecraft.network.packet.c2s.play with type arguments of type TestInstanceModifierConstructorDescriptionTestInstanceBlockActionC2SPacket
(BlockPos pos, TestInstanceBlockActionC2SPacket.Action actin, Optional<RegistryKey<TestInstance>> optional, Vec3i vec3i, BlockRotation blockRotation, boolean bool) -
Uses of TestInstance in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type TestInstanceModifier and TypeFieldDescriptionstatic final RegistryKey
<Registry<TestInstance>> RegistryKeys.TEST_INSTANCE
static final Registry
<com.mojang.serialization.MapCodec<? extends TestInstance>> Registries.TEST_INSTANCE_TYPE
static final RegistryKey
<Registry<com.mojang.serialization.MapCodec<? extends TestInstance>>> RegistryKeys.TEST_INSTANCE_TYPE
-
Uses of TestInstance in net.minecraft.server.command
Fields in net.minecraft.server.command with type parameters of type TestInstanceModifier and TypeFieldDescriptionprivate final UnaryOperator
<Supplier<Stream<RegistryEntry.Reference<TestInstance>>>> TestFinder.Builder.testInstanceFinderMapper
Methods in net.minecraft.server.command that return types with arguments of type TestInstanceMethod parameters in net.minecraft.server.command with type arguments of type TestInstanceModifier and TypeMethodDescriptionprivate static int
TestCommand.executeExport
(ServerCommandSource source, RegistryEntry<TestInstance> instance) TestFinder.Builder.selector
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Collection<RegistryEntry.Reference<TestInstance>> selected) Constructor parameters in net.minecraft.server.command with type arguments of type TestInstanceModifierConstructorDescriptionprivate
Builder
(UnaryOperator<Supplier<Stream<RegistryEntry.Reference<TestInstance>>>> testInstanceFinderMapper, UnaryOperator<Supplier<Stream<BlockPos>>> testInstanceBlockFinderMapper) -
Uses of TestInstance in net.minecraft.test
Subclasses of TestInstance in net.minecraft.testFields in net.minecraft.test with type parameters of type TestInstanceModifier and TypeFieldDescriptionstatic final RegistryKey
<TestInstance> TestInstances.ALWAYS_PASS
static final com.mojang.serialization.Codec
<TestInstance> TestInstance.CODEC
private final RegistryEntry.Reference
<TestInstance> GameTestState.instanceEntry
private static final Set
<RegistryEntry.Reference<TestInstance>> RuntimeTestInstances.INSTANCES
Methods in net.minecraft.test that return TestInstanceMethods in net.minecraft.test that return types with arguments of type TestInstanceModifier and TypeMethodDescriptionTestInstanceFinder.findTests()
abstract com.mojang.serialization.MapCodec
<? extends TestInstance> TestInstance.getCodec()
GameTestState.getInstanceEntry()
private static RegistryKey
<TestInstance> private static com.mojang.serialization.MapCodec
<? extends TestInstance> TestInstance.register
(Registry<com.mojang.serialization.MapCodec<? extends TestInstance>> registry, String id, com.mojang.serialization.MapCodec<? extends TestInstance> codec) static com.mojang.serialization.MapCodec
<? extends TestInstance> TestInstance.registerAndGetDefault
(Registry<com.mojang.serialization.MapCodec<? extends TestInstance>> registry) static Stream
<RegistryEntry.Reference<TestInstance>> TestServer.selectInstances
(DynamicRegistryManager registryManager, String selector) static Stream
<RegistryEntry.Reference<TestInstance>> RuntimeTestInstances.stream()
Method parameters in net.minecraft.test with type arguments of type TestInstanceModifier and TypeMethodDescriptionstatic void
RuntimeTestInstances.add
(RegistryEntry.Reference<TestInstance> instance) static List
<GameTestBatch> Batches.batch
(Collection<RegistryEntry.Reference<TestInstance>> instances, Batches.Decorator decorator, ServerWorld world) static void
TestInstances.bootstrap
(Registerable<TestInstance> registry) Batches.Decorator.decorate
(RegistryEntry.Reference<TestInstance> instance, ServerWorld world) private static Stream
<GameTestState> TestServer.makeVerificationBatches
(RegistryEntry.Reference<TestInstance> instance, ServerWorld world) private static com.mojang.serialization.MapCodec
<? extends TestInstance> TestInstance.register
(Registry<com.mojang.serialization.MapCodec<? extends TestInstance>> registry, String id, com.mojang.serialization.MapCodec<? extends TestInstance> codec) private static com.mojang.serialization.MapCodec
<? extends TestInstance> TestInstance.register
(Registry<com.mojang.serialization.MapCodec<? extends TestInstance>> registry, String id, com.mojang.serialization.MapCodec<? extends TestInstance> codec) static com.mojang.serialization.MapCodec
<? extends TestInstance> TestInstance.registerAndGetDefault
(Registry<com.mojang.serialization.MapCodec<? extends TestInstance>> registry) Constructor parameters in net.minecraft.test with type arguments of type TestInstanceModifierConstructorDescriptionGameTestState
(RegistryEntry.Reference<TestInstance> instanceEntry, BlockRotation rotation, ServerWorld world, TestAttemptConfig testAttemptConfig)