Skip to main content

random_horizontal_direction

Function random_horizontal_direction 

Source
pub(crate) fn random_horizontal_direction(rng: &mut LegacyRandom) -> Direction
Expand description

Matches vanilla’s Direction.Plane.HORIZONTAL.getRandomDirection.