Search in sources :

Example 1 with BoundingBoxBeacon

use of com.irtimaled.bbor.client.models.BoundingBoxBeacon in project BoundingBoxOutlineReloaded by irtimaled.

the class CustomBeaconProvider method add.

public static void add(Coords coords, int level) {
    DimensionId dimensionId = Player.getDimensionId();
    BoundingBoxBeacon beacon = BoundingBoxBeacon.from(coords, level, BoundingBoxType.Custom);
    getCache(dimensionId).put(coords, beacon);
}
Also used : BoundingBoxBeacon(com.irtimaled.bbor.client.models.BoundingBoxBeacon) DimensionId(com.irtimaled.bbor.common.models.DimensionId)

Aggregations

BoundingBoxBeacon (com.irtimaled.bbor.client.models.BoundingBoxBeacon)1 DimensionId (com.irtimaled.bbor.common.models.DimensionId)1