API Reference

This part of the documentation details every public object of GDPC.

Modules

gdpc

GDPC top-level package.

gdpc.block

Provides the Block class, which represents a Minecraft block.

gdpc.block_state_tools

Utilities for working with orientation-related block states.

gdpc.editor

Provides the Editor class, which provides high-level functions to interact with the Minecraft world through the GDMC HTTP interface.

gdpc.editor_tools

Provides various Minecraft-related utilities that require an Editor.

gdpc.exceptions

Contains exceptions used by GDPC

gdpc.geometry

Tools for placing geometrical shapes of blocks.

gdpc.interface

Provides direct wrappers for the endpoints of the GDMC HTTP interface.

gdpc.lookup

Stores lists of various information on blocks, biomes and more.

gdpc.minecraft_tools

Provides various Minecraft-related utilities that do not require an Editor.

gdpc.model

Provides the Model class, which can store a model of Minecraft blocks.

gdpc.nbt_tools

Utilities for working with Minecraft's NBT and SNBT formats

gdpc.transform

Provides the Transform class and related functions

gdpc.utils

Various generic utilities.

gdpc.vector_tools

Various vector utilities.

gdpc.world_slice

Provides the WorldSlice class