location – Locations

The location module contains objects for tracking and analyzing locations.

class bravo.location.Location[source]

Bases: object

The position and orientation of an entity.


Return the distance between this location and another location.

Distance is measured in blocks.


Return a Location a certain number of blocks in front of this position.

The orientation of the returned location is undefined.

Parameters:distance (int) – the number of blocks by which to offset this position

Returns a position/look/grounded packet.

Project Versions

Previous topic

furnace – Furnace Tile

Next topic

packets – Packet serializers

This Page