mojang-minecraft Module

Important

These APIs are experimental as part of GameTest Framework. As with all experiments, you may see changes in functionality in updated Minecraft versions. Check the Minecraft Changelog for details on any changes to GameTest Framework APIs. Where possible, this documentation reflects the latest updates to APIs in Minecraft beta versions.

Enumerations

Classes

Constants

TicksPerSecond

static read-only TicksPerSecond = 20;

How many times the server ticks per second of real time.

Type: number

Objects

world

static read-only world: World;

A class that wraps the state of a world - a set of dimensions and the environment of Minecraft.

Type: World