Skip to main content

Module utils

Module utils 

Source
Expand description

Miscellaneous structure utility functions.

Constants§

VANILLA_HORIZONTAL_DIRECTIONS 🔒

Functions§

make_oriented_piece_bounding_box 🔒
Vanilla’s StructurePiece.makeBoundingBox: north/south keep width/depth, east/west swap them.
random_horizontal_direction 🔒
Matches vanilla’s Direction.Plane.HORIZONTAL.getRandomDirection.