Skip to main content

Module block_util

Module block_util 

Source
Expand description

Vanilla BlockUtil helpers. Vanilla BlockUtil helpers shared by gameplay systems.

Structsยง

FoundRectangle
Rectangle found around a center block while scanning along two axes.
IntBounds ๐Ÿ”’

Functionsยง

get_largest_rectangle_around
Finds the largest axis-aligned rectangle of positions matching test that contains center, scanning outward up to the given limits.
get_limit ๐Ÿ”’
get_max_rectangle_location ๐Ÿ”’