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.
- 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.
- 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.
- 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.
- 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.
- amulet.api.data_types.world_types.BlockCoordinates[source]¶
The data type for the x, y and z location of a block within the world.
- 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.
- amulet.api.data_types.world_types.PointCoordinates[source]¶
The data type for the x, y and z location of a point within the world.
- 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.
- 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
]]