Wiki ArticleJava Edition technicalBedrock Edition

GameTest

GameTest is an automated end-to-end (E2E) testing framework for testing aspects of Minecraft. Each test contains a structure, parameters for how the test gets executed, and optional code to further specify the test behavior.

Test instance can be defined in a datapack by creating a JSON file in the test_instance registry. Players can inspect information about them using a test instance block. A test instance has the following properties:

There are more configuration available for test instances. For more information on the format, see test instance definition.

Complete article available

This cached Wiki page is unusually large, so it is loaded on demand to keep the initial page fast.