amulet.api.data_types.world_types module

These data types relate to the world data.

amulet.api.data_types.world_types.FloatTriplet[source]

The data type for a Tuple containing three floats. Use PointCoordinates for x, y, z float coordinates.

alias of Tuple[float, float, float]

amulet.api.data_types.world_types.Dimension = <class 'str'>[source]

The data type for the dimension identifier.

amulet.api.data_types.world_types.RegionCoordinates[source]

The data type for the x and z coordinates of a region file. Note these are no the same as block coordinates.

alias of Tuple[int, int]

amulet.api.data_types.world_types.ChunkCoordinates[source]

The data type for the x and z coordinate of a chunk. Note these are no the same as block coordinates.

alias of Tuple[int, int]

amulet.api.data_types.world_types.SubChunkCoordinates[source]

The data type for the x, y and z coordinates of a sub-chunk within the world. Note these are no the same as block coordinates.

alias of Tuple[int, int, int]

amulet.api.data_types.world_types.DimensionCoordinates[source]

The data type for the dimension and x and z coordinates of a chunk within a world. Note these are no the same as block coordinates.

alias of Tuple[str, int, int]

amulet.api.data_types.world_types.BlockCoordinates[source]

The data type for the x, y and z location of a block within the world.

alias of Tuple[int, int, int]

amulet.api.data_types.world_types.BlockCoordinatesNDArray = <class 'numpy.ndarray'>[source]

The data type for the x, y and z location of a block within the world in the form of a numpy array.

amulet.api.data_types.world_types.BlockCoordinatesAny[source]

The data type for the x, y and z location of a block within the world in either tuple or numpy array form.

alias of Union[Tuple[int, int, int], ndarray]

amulet.api.data_types.world_types.PointCoordinates[source]

The data type for the x, y and z location of a point within the world.

alias of Tuple[float, float, float]

amulet.api.data_types.world_types.PointCoordinatesNDArray = <class 'numpy.ndarray'>[source]

The data type for the x, y and z location of a point within the world in the form of a numpy array.

amulet.api.data_types.world_types.PointCoordinatesAny[source]

The data type for the x, y and z location of a point within the world in either tuple or numpy array form.

alias of Union[Tuple[float, float, float], ndarray]

amulet.api.data_types.world_types.CoordinatesAny[source]

The data type for x, y and z location in either float or int and tuple or numpy array format.

alias of Union[Tuple[int, int, int], ndarray, Tuple[float, float, float]]

amulet.api.data_types.world_types.SubChunkNDArray = <class 'numpy.ndarray'>[source]

The data type for a sub-chunk array. This array should be a 16x16x16 numpy array.

amulet.api.data_types.world_types.BiomeType = <class 'str'>[source]

The data type for a biome string identifier.