This is a small library of Minecraft Java/Bedrock 1.18+ climate- and spawn-related constants, functions, and lookup tables.
Some of these functions are already present in the Cubiomes library, but are made faster here (such as by aborting early if a certain threshold is passed, etc.). Others are new.
In the future, a makefile will be developed to statically compile this library; until then, all relevant .c
files ("U_Math.c"
, "Climates.c"
, etc.) must unfortunately be manually specified when compiling.