Expand description
Raw ffi bindings to the cubiomes library.
This crate also contains module enums for building enums for conviniance
Re-exports§
pub use num_traits;
Modules§
- enums
- This module contains generated rust enums representing different cubiomes enums. It also implements display and fromstr for them.
Structs§
- Biome
Filter - BiomeID
- Biome
Noise - Biome
Noise Beta - Biome
Temp Category - Biome
Tree - Dimension
- Double
Perlin Noise - EndIsland
- EndNoise
- FixSpline
- Generator
- Generator__
bindgen_ ty_ 1__ bindgen_ ty_ 1 - Generator__
bindgen_ ty_ 1__ bindgen_ ty_ 2 - Generator__
bindgen_ ty_ 1__ bindgen_ ty_ 3 - Layer
- LayerId
- Layer
Stack - MCVersion
- Nether
Noise - Octave
Noise - Perlin
Noise - Piece
- Pos
- Pos3
- Range
- SeaLevel
Column Noise Beta - Spline
- Spline
Stack - Stronghold
Iter - Structure
Config - Structure
Type - Structure
Variant - Surface
Noise - Surface
Noise Beta - Xoroshiro
- ============================================================================= Xoroshiro 128
- _G_
fpos64_ t - _G_
fpos_ t - _IO_
FILE - _IO_
codecvt - _IO_
cookie_ io_ functions_ t - _IO_
marker - _IO_
wide_ data - __
Bindgen Bitfield Unit - __
atomic_ wide_ counter__ bindgen_ ty_ 1 - __
fsid_ t - __
mbstate_ t - __
once_ flag - __
pthread_ cond_ s - __
pthread_ internal_ list - __
pthread_ internal_ slist - __
pthread_ mutex_ s - __
pthread_ rwlock_ arch_ t - __
sigset_ t - __
va_ list_ tag - _bindgen_
ty_ 1 - _bindgen_
ty_ 2 - _bindgen_
ty_ 3 - In 1.18 the Overworld uses a new noise map system for the biome generation. The random number generation also has updated to a Xiroshiro128 algorithm. The scale is 1:4, and is sampled at each point individually as there is currently not much benefit from generating a volume as a whole.
- _bindgen_
ty_ 4 - _bindgen_
ty_ 5 - _bindgen_
ty_ 6 - _bindgen_
ty_ 7 - _bindgen_
ty_ 8 - _bindgen_
ty_ 9 - div_t
- drand48_
data - fd_set
- imaxdiv_
t - ldiv_t
- lldiv_t
- max_
align_ t - random_
data - timespec
- timeval
Constants§
- BASE_
FLOOR - BASE_
ROOF - BF_
APPROX - BF_
FORCED_ OCEAN - BIG_
ENDIAN - BRIDGE_
CORRIDOR_ ENTRANCE - BRIDGE_
CROSSING - BRIDGE_
END - BRIDGE_
FORTIFIED_ CROSSING - BRIDGE_
GENTLE_ STAIRS - BRIDGE_
PIECE - BRIDGE_
SPAWNER - BRIDGE_
STAIRS - BRIDGE_
STEEP_ STAIRS - BRIDGE_
STRAIGHT - BUFSIZ
- BYTE_
ORDER - Blacksmith
- Butcher
- CORRIDOR_
CROSSING - CORRIDOR_
NETHER_ WART - CORRIDOR_
STAIRS - CORRIDOR_
STRAIGHT - CORRIDOR_
TURN_ LEFT - CORRIDOR_
TURN_ RIGHT - CORRIDOR_
T_ CROSSING - CST_
BARELY - CST_
CLASSIC - CST_
IDEAL - CST_
NONE - CST_
NORMAL - Church
- END_
CITY_ PIECES_ MAX - END_
SHIP - EOF
- EXIT_
FAILURE - EXIT_
SUCCESS - FAT_
TOWER_ BASE - FAT_
TOWER_ MIDDLE - FAT_
TOWER_ TOP - FD_
SETSIZE - FILENAME_
MAX - FOPEN_
MAX - FORCE_
OCEAN_ VARIANTS - FORTRESS_
END - FORTRESS_
START - FP_
ILOG B0 - FP_
ILOGBNAN - FP_
INFINITE - FP_NAN
- FP_
NORMAL - FP_
SUBNORMAL - FP_ZERO
- Farm
Large - Farm
Small - HOUSE_
NUM - House
Large - House
Small - INT8_
MAX - INT8_
MIN - INT16_
MAX - INT16_
MIN - INT32_
MAX - INT32_
MIN - INTPTR_
MAX - INTPTR_
MIN - INT_
FAST8_ MAX - INT_
FAST8_ MIN - INT_
FAST16_ MAX - INT_
FAST16_ MIN - INT_
FAST32_ MAX - INT_
FAST32_ MIN - INT_
LEAS T8_ MAX - INT_
LEAS T8_ MIN - INT_
LEAS T16_ MAX - INT_
LEAS T16_ MIN - INT_
LEAS T32_ MAX - INT_
LEAS T32_ MIN - LARGE_
BIOMES - LAYER_
INIT_ SHA - LITTLE_
ENDIAN - L_
ctermid - L_
tmpnam - Library
- MATH_
ERREXCEPT - MATH_
ERRNO - M_1_PI
- M_2_PI
- M_
2_ SQRTPI - M_E
- M_LN2
- M_LN10
- M_LOG2E
- M_
LOG10E - M_PI
- M_PI_2
- M_PI_4
- M_SQRT2
- M_
SQRT1_ 2 - NO_
BETA_ OCEAN - NP_
CONTINENTALNESS - NP_
DEPTH - NP_
EROSION - NP_
HUMIDITY - NP_MAX
- NP_
SHIFT - NP_
TEMPERATURE - NP_
WEIRDNESS - PDP_
ENDIAN - PIECE_
COUNT - PRIX8
- PRIX16
- PRIX32
- PRIX64
- PRIXFAS
T8 - PRIXFAS
T16 - PRIXFAS
T32 - PRIXFAS
T64 - PRIXLEAS
T8 - PRIXLEAS
T16 - PRIXLEAS
T32 - PRIXLEAS
T64 - PRIXMAX
- PRIXPTR
- PRId8
- PRId16
- PRId32
- PRId64
- PRIdFAS
T8 - PRIdFAS
T16 - PRIdFAS
T32 - PRIdFAS
T64 - PRIdLEAS
T8 - PRIdLEAS
T16 - PRIdLEAS
T32 - PRIdLEAS
T64 - PRIdMAX
- PRIdPTR
- PRIi8
- PRIi16
- PRIi32
- PRIi64
- PRIiFAS
T8 - PRIiFAS
T16 - PRIiFAS
T32 - PRIiFAS
T64 - PRIiLEAS
T8 - PRIiLEAS
T16 - PRIiLEAS
T32 - PRIiLEAS
T64 - PRIiMAX
- PRIiPTR
- PRIo8
- PRIo16
- PRIo32
- PRIo64
- PRIoFAS
T8 - PRIoFAS
T16 - PRIoFAS
T32 - PRIoFAS
T64 - PRIoLEAS
T8 - PRIoLEAS
T16 - PRIoLEAS
T32 - PRIoLEAS
T64 - PRIoMAX
- PRIoPTR
- PRIu8
- PRIu16
- PRIu32
- PRIu64
- PRIuFAS
T8 - PRIuFAS
T16 - PRIuFAS
T32 - PRIuFAS
T64 - PRIuLEAS
T8 - PRIuLEAS
T16 - PRIuLEAS
T32 - PRIuLEAS
T64 - PRIuMAX
- PRIuPTR
- PRIx8
- PRIx16
- PRIx32
- PRIx64
- PRIxFAS
T8 - PRIxFAS
T16 - PRIxFAS
T32 - PRIxFAS
T64 - PRIxLEAS
T8 - PRIxLEAS
T16 - PRIxLEAS
T32 - PRIxLEAS
T64 - PRIxMAX
- PRIxPTR
- PTRDIFF_
MAX - PTRDIFF_
MIN - P_
tmpdir - RAND_
MAX - SAMPLE_
NO_ BIOME - SAMPLE_
NO_ DEPTH - SAMPLE_
NO_ SHIFT - SCNd8
- SCNd16
- SCNd32
- SCNd64
- SCNdFAS
T8 - SCNdFAS
T16 - SCNdFAS
T32 - SCNdFAS
T64 - SCNdLEAS
T8 - SCNdLEAS
T16 - SCNdLEAS
T32 - SCNdLEAS
T64 - SCNdMAX
- SCNdPTR
- SCNi8
- SCNi16
- SCNi32
- SCNi64
- SCNiFAS
T8 - SCNiFAS
T16 - SCNiFAS
T32 - SCNiFAS
T64 - SCNiLEAS
T8 - SCNiLEAS
T16 - SCNiLEAS
T32 - SCNiLEAS
T64 - SCNiMAX
- SCNiPTR
- SCNo8
- SCNo16
- SCNo32
- SCNo64
- SCNoFAS
T8 - SCNoFAS
T16 - SCNoFAS
T32 - SCNoFAS
T64 - SCNoLEAS
T8 - SCNoLEAS
T16 - SCNoLEAS
T32 - SCNoLEAS
T64 - SCNoMAX
- SCNoPTR
- SCNu8
- SCNu16
- SCNu32
- SCNu64
- SCNuFAS
T8 - SCNuFAS
T16 - SCNuFAS
T32 - SCNuFAS
T64 - SCNuLEAS
T8 - SCNuLEAS
T16 - SCNuLEAS
T32 - SCNuLEAS
T64 - SCNuMAX
- SCNuPTR
- SCNx8
- SCNx16
- SCNx32
- SCNx64
- SCNxFAS
T8 - SCNxFAS
T16 - SCNxFAS
T32 - SCNxFAS
T64 - SCNxLEAS
T8 - SCNxLEAS
T16 - SCNxLEAS
T32 - SCNxLEAS
T64 - SCNxMAX
- SCNxPTR
- SECOND_
FLOOR_ 1 - SECOND_
FLOOR_ 2 - SECOND_
ROOF - SEEK_
CUR - SEEK_
END - SEEK_
SET - SIG_
ATOMIC_ MAX - SIG_
ATOMIC_ MIN - SIZE_
MAX - THIRD_
FLOOR_ 1 - THIRD_
FLOOR_ 2 - THIRD_
ROOF - TMP_MAX
- TOWER_
BASE - TOWER_
FLOOR - TOWER_
PIECE - TOWER_
TOP - UINT8_
MAX - UINT16_
MAX - UINT32_
MAX - UINTPTR_
MAX - UINT_
FAST8_ MAX - UINT_
FAST16_ MAX - UINT_
FAST32_ MAX - UINT_
LEAS T8_ MAX - UINT_
LEAS T16_ MAX - UINT_
LEAS T32_ MAX - WCONTINUED
- WEXITED
- WINT_
MAX - WINT_
MIN - WNOHANG
- WNOWAIT
- WSTOPPED
- WUNTRACED
- WoodHut
- _ALLOCA_
H - _ATFILE_
SOURCE - _BITS_
BYTESWAP_ H - _BITS_
ENDIANNESS_ H - _BITS_
ENDIAN_ H - _BITS_
LIBM_ SIMD_ DECL_ STUBS_ H - _BITS_
PTHREADTYPES_ ARCH_ H - _BITS_
PTHREADTYPES_ COMMON_ H - _BITS_
STDINT_ INTN_ H - _BITS_
STDINT_ LEAST_ H - _BITS_
STDINT_ UINTN_ H - _BITS_
STDIO_ LIM_ H - _BITS_
TIME64_ H - _BITS_
TYPESIZES_ H - _BITS_
TYPES_ H - _BITS_
UINTN_ IDENTITY_ H - _BITS_
WCHAR_ H - _DEFAULT_
SOURCE - _ENDIAN_
H - _FEATURES_
H - _INTTYPES_
H - _IOFBF
- _IOLBF
- _IONBF
- _IO_
EOF_ SEEN - _IO_
ERR_ SEEN - _IO_
USER_ LOCK - _MATH_H
- _POSIX_
C_ SOURCE - _POSIX_
SOURCE - _STDC_
PREDEF_ H - _STDINT_
H - _STDIO_
H - _STDLIB_
H - _STRUCT_
TIMESPEC - _SYS_
CDEFS_ H - _SYS_
SELECT_ H - _SYS_
TYPES_ H - _THREAD_
MUTEX_ INTERNAL_ H - _THREAD_
SHARED_ TYPES_ H - __
BIG_ ENDIAN - __
BIT_ TYPES_ DEFINED__ - __
BYTE_ ORDER - __
FD_ SETSIZE - __
FILE_ defined - __
FLOAT_ WORD_ ORDER - __
FP_ LOGB0_ IS_ MIN - __
FP_ LOGBNAN_ IS_ MIN - __
GLIBC_ MINOR__ - __
GLIBC_ USE_ C2X_ STRTOL - __
GLIBC_ USE_ DEPRECATED_ GETS - __
GLIBC_ USE_ DEPRECATED_ SCANF - __
GLIBC_ USE_ IEC_ 60559_ BFP_ EXT - __
GLIBC_ USE_ IEC_ 60559_ BFP_ EXT_ C2X - __
GLIBC_ USE_ IEC_ 60559_ EXT - __
GLIBC_ USE_ IEC_ 60559_ FUNCS_ EXT - __
GLIBC_ USE_ IEC_ 60559_ FUNCS_ EXT_ C2X - __
GLIBC_ USE_ IEC_ 60559_ TYPES_ EXT - __
GLIBC_ USE_ ISOC2X - __
GLIBC_ USE_ LIB_ EXT2 - __
GLIBC__ - __
GNU_ LIBRARY__ - __
HAVE_ DISTINCT_ FLOA T16 - __
HAVE_ DISTINCT_ FLOA T32 - __
HAVE_ DISTINCT_ FLOA T64 - __
HAVE_ DISTINCT_ FLOA T32X - __
HAVE_ DISTINCT_ FLOA T64X - __
HAVE_ DISTINCT_ FLOA T128 - __
HAVE_ DISTINCT_ FLOA T128X - __
HAVE_ FLOA T16 - __
HAVE_ FLOA T32 - __
HAVE_ FLOA T64 - __
HAVE_ FLOA T32X - __
HAVE_ FLOA T64X - __
HAVE_ FLOA T64X_ LONG_ DOUBLE - __
HAVE_ FLOA T128 - __
HAVE_ FLOA T128X - __
HAVE_ FLOATN_ NOT_ TYPEDEF - __
HAVE_ GENERIC_ SELECTION - __
INO_ T_ MATCHES_ INO64_ T - __
KERNEL_ OLD_ TIMEVAL_ MATCHES_ TIMEVA L64 - __
LDOUBLE_ REDIRECTS_ TO_ FLOA T128_ ABI - __
LITTLE_ ENDIAN - __
MATH_ DECLARE_ LDOUBLE - __
MATH_ DECLARING_ DOUBLE - __
MATH_ DECLARING_ FLOATN - __
OFF_ T_ MATCHES_ OFF64_ T - __
PDP_ ENDIAN - __
PRI64_ PREFIX - __
PRIPTR_ PREFIX - __
PTHREAD_ MUTEX_ HAVE_ PREV - __
RLIM_ T_ MATCHES_ RLIM64_ T - __
SIZEOF_ PTHREAD_ ATTR_ T - __
SIZEOF_ PTHREAD_ BARRIERATTR_ T - __
SIZEOF_ PTHREAD_ BARRIER_ T - __
SIZEOF_ PTHREAD_ CONDATTR_ T - __
SIZEOF_ PTHREAD_ COND_ T - __
SIZEOF_ PTHREAD_ MUTEXATTR_ T - __
SIZEOF_ PTHREAD_ MUTEX_ T - __
SIZEOF_ PTHREAD_ RWLOCKATTR_ T - __
SIZEOF_ PTHREAD_ RWLOCK_ T - __
STATFS_ MATCHES_ STATF S64 - __
STDC_ FORMAT_ MACROS - __
STDC_ IEC_ 559_ COMPLEX__ - __
STDC_ IEC_ 559__ - __
STDC_ IEC_ 60559_ BFP__ - __
STDC_ IEC_ 60559_ COMPLEX__ - __
STDC_ ISO_ 10646__ - __
SYSCALL_ WORDSIZE - __
TIMESIZE - __
USE_ ATFILE - __
USE_ FORTIFY_ LEVEL - __
USE_ ISOC11 - __
USE_ ISOC95 - __
USE_ ISOC99 - __
USE_ MISC - __
USE_ POSIX - __
USE_ POSI X2 - __
USE_ POSI X199309 - __
USE_ POSI X199506 - __
USE_ POSIX_ IMPLICITLY - __
USE_ XOPE N2K - __
USE_ XOPE N2K8 - __WALL
- __
WCLONE - __
WCOREFLAG - __
WNOTHREAD - __
WORDSIZE - __
WORDSIZE_ TIME64_ COMPA T32 - __
W_ CONTINUED - ____
FILE_ defined - _____
fpos64_ t_ defined - _____
fpos_ t_ defined - ____
gwchar_ t_ defined - ____
mbstate_ t_ defined - __
clock_ t_ defined - __
clockid_ t_ defined - __
cookie_ io_ functions_ t_ defined - __
glibc_ c99_ flexarr_ available - __
have_ pthread_ attr_ t - __
ldiv_ t_ defined - __
lldiv_ t_ defined - __
sigset_ t_ defined - __
struct_ FILE_ defined - __
time_ t_ defined - __
timer_ t_ defined - __
timeval_ defined - math_
errhandling
Statics§
- low20
Quad ⚠Classic - low20
Quad ⚠HutBarely - low20
Quad ⚠HutNormal - low20
Quad ⚠Ideal - Quad-Witch-Huts
- signgam⚠
- stderr⚠
- stdin⚠
- stdout⚠
Functions§
- _Exit⚠
- __acos⚠
- __acosf⚠
- __acosh⚠
- __
acoshf ⚠ - __
acoshl ⚠ - __acosl⚠
- __asin⚠
- __asinf⚠
- __asinh⚠
- __
asinhf ⚠ - __
asinhl ⚠ - __asinl⚠
- __
asprintf ⚠ - __atan⚠
- __atan2⚠
- __
atan2f ⚠ - __
atan2l ⚠ - __atanf⚠
- __atanh⚠
- __
atanhf ⚠ - __
atanhl ⚠ - __atanl⚠
- __cbrt⚠
- __cbrtf⚠
- __cbrtl⚠
- __ceil⚠
- __ceilf⚠
- __ceill⚠
- __
copysign ⚠ - __
copysignf ⚠ - __
copysignl ⚠ - __cos⚠
- __cosf⚠
- __cosh⚠
- __coshf⚠
- __coshl⚠
- __cosl⚠
- __
ctype_ ⚠get_ mb_ cur_ max - __drem⚠
- __dremf⚠
- __dreml⚠
- __erf⚠
- __erfc⚠
- __erfcf⚠
- __erfcl⚠
- __erff⚠
- __erfl⚠
- __exp⚠
- __exp2⚠
- __exp2f⚠
- __exp2l⚠
- __expf⚠
- __expl⚠
- __expm1⚠
- __
expm1f ⚠ - __
expm1l ⚠ - __fabs⚠
- __fabsf⚠
- __fabsl⚠
- __fdim⚠
- __fdimf⚠
- __fdiml⚠
- __
finite ⚠ - __
finitef ⚠ - __
finitel ⚠ - __floor⚠
- __
floorf ⚠ - __
floorl ⚠ - __fma⚠
- __fmaf⚠
- __fmal⚠
- __fmax⚠
- __fmaxf⚠
- __fmaxl⚠
- __fmin⚠
- __fminf⚠
- __fminl⚠
- __fmod⚠
- __fmodf⚠
- __fmodl⚠
- __
fpclassify ⚠ - __
fpclassifyf ⚠ - __
fpclassifyl ⚠ - __frexp⚠
- __
frexpf ⚠ - __
frexpl ⚠ - __gamma⚠
- __
gammaf ⚠ - __
gammal ⚠ - __
getdelim ⚠ - __hypot⚠
- __
hypotf ⚠ - __
hypotl ⚠ - __ilogb⚠
- __
ilogbf ⚠ - __
ilogbl ⚠ - __
iseqsig ⚠ - __
iseqsigf ⚠ - __
iseqsigl ⚠ - __isinf⚠
- __
isinff ⚠ - __
isinfl ⚠ - __isnan⚠
- __
isnanf ⚠ - __
isnanl ⚠ - __
issignaling ⚠ - __
issignalingf ⚠ - __
issignalingl ⚠ - __j0⚠
- __j0f⚠
- __j0l⚠
- __j1⚠
- __j1f⚠
- __j1l⚠
- __jn⚠
- __jnf⚠
- __jnl⚠
- __ldexp⚠
- __
ldexpf ⚠ - __
ldexpl ⚠ - __
lgamma ⚠ - __
lgamma_ ⚠r - __
lgammaf ⚠ - __
lgammaf_ ⚠r - __
lgammal ⚠ - __
lgammal_ ⚠r - __
llrint ⚠ - __
llrintf ⚠ - __
llrintl ⚠ - __
llround ⚠ - __
llroundf ⚠ - __
llroundl ⚠ - __log⚠
- __log2⚠
- __log1p⚠
- __
log1pf ⚠ - __
log1pl ⚠ - __log2f⚠
- __log2l⚠
- __log10⚠
- __
log10f ⚠ - __
log10l ⚠ - __logb⚠
- __logbf⚠
- __logbl⚠
- __logf⚠
- __logl⚠
- __lrint⚠
- __
lrintf ⚠ - __
lrintl ⚠ - __
lround ⚠ - __
lroundf ⚠ - __
lroundl ⚠ - __modf⚠
- __modff⚠
- __modfl⚠
- __nan⚠
- __nanf⚠
- __nanl⚠
- __
nearbyint ⚠ - __
nearbyintf ⚠ - __
nearbyintl ⚠ - __
nextafter ⚠ - __
nextafterf ⚠ - __
nextafterl ⚠ - __
nexttoward ⚠ - __
nexttowardf ⚠ - __
nexttowardl ⚠ - __
overflow ⚠ - __pow⚠
- __powf⚠
- __powl⚠
- __
remainder ⚠ - __
remainderf ⚠ - __
remainderl ⚠ - __
remquo ⚠ - __
remquof ⚠ - __
remquol ⚠ - __rint⚠
- __rintf⚠
- __rintl⚠
- __round⚠
- __
roundf ⚠ - __
roundl ⚠ - __scalb⚠
- __
scalbf ⚠ - __
scalbl ⚠ - __
scalbln ⚠ - __
scalblnf ⚠ - __
scalblnl ⚠ - __
scalbn ⚠ - __
scalbnf ⚠ - __
scalbnl ⚠ - __
signbit ⚠ - __
signbitf ⚠ - __
signbitl ⚠ - __
significand ⚠ - __
significandf ⚠ - __
significandl ⚠ - __sin⚠
- __sinf⚠
- __sinh⚠
- __sinhf⚠
- __sinhl⚠
- __sinl⚠
- __sqrt⚠
- __sqrtf⚠
- __sqrtl⚠
- __tan⚠
- __tanf⚠
- __tanh⚠
- __tanhf⚠
- __tanhl⚠
- __tanl⚠
- __
tgamma ⚠ - __
tgammaf ⚠ - __
tgammal ⚠ - __trunc⚠
- __
truncf ⚠ - __
truncl ⚠ - __uflow⚠
- __y0⚠
- __y0f⚠
- __y0l⚠
- __y1⚠
- __y1f⚠
- __y1l⚠
- __yn⚠
- __ynf⚠
- __ynl⚠
- a64l⚠
- abort⚠
- abs⚠
- acos⚠
- acosf⚠
- acosh⚠
- acoshf⚠
- acoshl⚠
- acosl⚠
- aligned_
alloc ⚠ - alloc
Cache ⚠ - alloca⚠
- apply
Seed ⚠ - Initializes the generator for a given dimension and seed. dim=0: Overworld dim=-1: Nether dim=+1: End
- approx
Surface ⚠Beta - arc4random⚠
- arc4random_
buf ⚠ - arc4random_
uniform ⚠ - areSimilar⚠
- asin⚠
- asinf⚠
- asinh⚠
- asinhf⚠
- asinhl⚠
- asinl⚠
- asprintf⚠
- at_
quick_ ⚠exit - atan⚠
- atan2⚠
- atan2f⚠
- atan2l⚠
- atanf⚠
- atanh⚠
- atanhf⚠
- atanhl⚠
- atanl⚠
- atexit⚠
- atof⚠
- atoi⚠
- atol⚠
- atoll⚠
- biome2str⚠
- get the resource id name for a biome (for versions 1.13+)
- biome
Exists ⚠ - biomes
ToImage ⚠ - bsearch⚠
- calloc⚠
- canBiome
Generate ⚠ - cbrt⚠
- cbrtf⚠
- cbrtl⚠
- ceil⚠
- ceilf⚠
- ceill⚠
- check
ForBiomes ⚠ - check
ForBiomes ⚠AtLayer - check
ForTemps ⚠ - clearenv⚠
- clearerr⚠
- clearerr_
unlocked ⚠ - climate
ToBiome ⚠ - Uses the global biome tree definitions (see tables/btreeXX.h) to map a noise point (i.e. climate) to the corresponding overworld biome.
- copysign⚠
- copysignf⚠
- copysignl⚠
- cos⚠
- cosf⚠
- cosh⚠
- coshf⚠
- coshl⚠
- cosl⚠
- ctermid⚠
- div⚠
- double
Perlin ⚠Init - Double Perlin
- dprintf⚠
- drand48⚠
- drand48_
r ⚠ - drem⚠
- dremf⚠
- dreml⚠
- ecvt⚠
- ecvt_r⚠
- erand48⚠
- erand48_
r ⚠ - erf⚠
- erfc⚠
- erfcf⚠
- erfcl⚠
- erff⚠
- erfl⚠
- estimate
Spawn ⚠ - exit⚠
- exp⚠
- exp2⚠
- exp2f⚠
- exp2l⚠
- expf⚠
- expl⚠
- expm1⚠
- expm1f⚠
- expm1l⚠
- fabs⚠
- fabsf⚠
- fabsl⚠
- fclose⚠
- fcvt⚠
- fcvt_r⚠
- fdim⚠
- fdimf⚠
- fdiml⚠
- fdopen⚠
- feof⚠
- feof_
unlocked ⚠ - ferror⚠
- ferror_
unlocked ⚠ - fflush⚠
- fflush_
unlocked ⚠ - fgetc⚠
- fgetc_
unlocked ⚠ - fgetpos⚠
- fgets⚠
- fileno⚠
- fileno_
unlocked ⚠ - finite⚠
- finitef⚠
- finitel⚠
- flockfile⚠
- floor⚠
- floorf⚠
- floorl⚠
- fma⚠
- fmaf⚠
- fmal⚠
- fmax⚠
- fmaxf⚠
- fmaxl⚠
- fmemopen⚠
- fmin⚠
- fminf⚠
- fminl⚠
- fmod⚠
- fmodf⚠
- fmodl⚠
- fopen⚠
- fopencookie⚠
- fprintf⚠
- fputc⚠
- fputc_
unlocked ⚠ - fputs⚠
- fread⚠
- fread_
unlocked ⚠ - free⚠
- freopen⚠
- frexp⚠
- frexpf⚠
- frexpl⚠
- fscanf⚠
- fscanf1⚠
- fseek⚠
- fseeko⚠
- fsetpos⚠
- ftell⚠
- ftello⚠
- ftrylockfile⚠
- funlockfile⚠
- fwrite⚠
- fwrite_
unlocked ⚠ - gamma⚠
- gammaf⚠
- gammal⚠
- gcvt⚠
- genArea⚠
- genBiome
Noise ⚠Beta Scaled - Generates the biomes for Beta 1.7, the surface noise is optional and enables ocean mapping in areas that fall below the sea level.
- genBiome
Noise ⚠Chunk Section - Currently, in 1.18, we have to generate biomes one chunk at a time to get an accurate mapping of the biomes in the level storage, as there is no longer a unique mapping from noise points to biomes (MC-241546). Note that the results from this are not suitable for chunk population/structure generation. The output is in the form out[x][y][z] for the 64 biome points in the chunk section. The coordinates {cx,cy,cz} are all at scale 1:16 and the ‘dat’ argument should be the previous noise sampling and can be left NULL.
- genBiome
Noise ⚠Scaled - The scaled biome noise generation applies for the Overworld version 1.18+. The ‘sha’ hash of the seed is only required for voronoi at scale 1:1. A scale of zero is interpreted as the default 1:4 scale.
- genBiomes⚠
- Generates the biomes for a cuboidal scaled range given by ‘r’. (See description of Range for more detail.)
- genEnd
Scaled ⚠ - The scaled End generation supports scales 1, 4, 16, and 64. The End biomes are usually 2D, but in 1.15+ there is 3D voronoi noise, which is controlled by the ‘sha’ hash of the seed. For scales higher than 1:1, and versions up to 1.14, ‘sha’ is ignored.
- genNether
Scaled ⚠ - The scaled Nether generation supports scales 1, 4, 16, 64, and 256. It is similar to mapNether3D(), but applies voronoi zoom if necessary, and fills the output buffer with nether_wastes for versions older than 1.16.
- genPotential⚠
- getAvailable
Biomes ⚠ - getBiome
At ⚠ - Gets the biome for a specified scaled position. Note that the scale should be either 1 or 4, for block or biome coordinates respectively. Returns none (-1) upon failure.
- getBiome
Centers ⚠ - getBiome
Depth ⚠AndScale - getBiome
Para ⚠Extremes - Gets the min/max parameter values within which a biome change can occur.
- getBiome
Para ⚠Limits - Gets the min/max possible noise parameter values at which the given biome can generate. The values are in min/max pairs in order of: temperature, humidity, continentalness, erosion, depth, weirdness.
- getCategory⚠
- getDimension⚠
- getEnd
City ⚠Pieces - getEnd
Islands ⚠ - getEnd
Surface ⚠Height - getFixed
EndGateways ⚠ - getFortress
Pieces ⚠ - getHouse
List ⚠ - getLargest
Rec ⚠ - Find the largest rectangle in ids[sx][sz] which consists only of ‘match’. The limit corners are written to p0 and p1. Returned is the rectangle’s area.
- getLayer
ForScale ⚠ - Returns the default layer that corresponds to the given scale. Supported scales are {0, 1, 4, 16, 64, 256}. A scale of zero indicates the custom entry layer ‘g->entry’. (Overworld, MC <= 1.17)
- getLinked
Gateway ⚠Chunk - getLinked
Gateway ⚠Pos - getMin
Cache ⚠Size - Calculates the buffer size (number of ints) required to generate a cuboidal volume of size (sx, sy, sz). If ‘sy’ is zero the buffer is calculated for a 2D plane (which is equivalent to sy=1 here). The function allocCache() can be used to allocate the corresponding int buffer using malloc().
- getMin
Layer ⚠Cache Size - getMineshafts⚠
- getMutated⚠
- getNether
Biome ⚠ - getOld
Beta ⚠Biome - (Alpha 1.2 - Beta 1.7) Temperature and humidity values to biome.
- getOptimal
Afk ⚠ - getPara
Descent ⚠ - Runs a gradient descent towards the minimum of the noise parameter times a given factor. The algorithm is restricted to the area (x,z,w,h) and starts at (i0,j0) relative to (x,z). The iteration is terminated when either
- getPara
Range ⚠ - Determines the value range of a climate noise parameter over the given area. The sampling has scale 1:4 and sampling shift is not considered, so biomes could potentially leak in at the boarders. An optional function: func(data, x, z, climate_noise(x,z)) is called in each gradient descent iteration. If this function returns non-zero the search is aborted, the results are undefined and a non-zero error is returned.
- getPossible
Biomes ⚠ForLimits - Determines which biomes are able to generate given a set of climate parameter limits. Possible biomes are marked non-zero in the ‘ids’.
- getQuad
HutCst ⚠ - getSpawn⚠
- getStructure
Config ⚠ - getStructure
Pos ⚠ - getVariant⚠
- getVoronoiSHA⚠
- getVoronoi
SrcRange ⚠ - getc⚠
- getc_
unlocked ⚠ - getchar⚠
- getchar_
unlocked ⚠ - getdelim⚠
- getenv⚠
- getline⚠
- getloadavg⚠
- getsubopt⚠
- getw⚠
- hypot⚠
- hypotf⚠
- hypotl⚠
- ilogb⚠
- ilogbf⚠
- ilogbl⚠
- imaxabs⚠
- imaxdiv⚠
- init
Biome ⚠Colors - initialize a biome colormap with some defaults
- init
Biome ⚠Noise - init
Biome ⚠Type Colors - init
First ⚠Stronghold - init
Surface ⚠Noise - init
Surface ⚠Noise Beta - initstate⚠
- initstate_
r ⚠ - isDeep
Ocean ⚠ - isEnd
Chunk ⚠Empty - isMesa⚠
- isOceanic⚠
- isOverworld⚠
- isShallow
Ocean ⚠ - isSnowy⚠
- isViable
EndCity ⚠Terrain - isViable
Feature ⚠Biome - isViable
Structure ⚠Pos - isViable
Structure ⚠Terrain - isinf⚠
- isinff⚠
- isinfl⚠
- isnan⚠
- isnanf⚠
- isnanl⚠
- j0⚠
- j0f⚠
- j0l⚠
- j1⚠
- j1f⚠
- j1l⚠
- jn⚠
- jnf⚠
- jnl⚠
- jrand48⚠
- jrand48_
r ⚠ - l64a⚠
- labs⚠
- lcong48⚠
- lcong48_
r ⚠ - ldexp⚠
- ldexpf⚠
- ldexpl⚠
- ldiv⚠
- lgamma⚠
- lgamma_
r ⚠ - lgammaf⚠
- lgammaf_
r ⚠ - lgammal⚠
- lgammal_
r ⚠ - llabs⚠
- lldiv⚠
- llrint⚠
- llrintf⚠
- llrintl⚠
- llround⚠
- llroundf⚠
- llroundl⚠
- load
Saved ⚠Seeds - locate
Biome ⚠ - log⚠
- log2⚠
- log1p⚠
- log1pf⚠
- log1pl⚠
- log2f⚠
- log2l⚠
- log10⚠
- log10f⚠
- log10l⚠
- logb⚠
- logbf⚠
- logbl⚠
- logf⚠
- logl⚠
- lrand48⚠
- lrand48_
r ⚠ - lrint⚠
- lrintf⚠
- lrintl⚠
- lround⚠
- lroundf⚠
- lroundl⚠
- malloc⚠
- mapApprox
Height ⚠ - Map an approximation of the Overworld surface height. The horizontal scaling is 1:4. If non-null, the ids are filled with the biomes of the area. The height (written to y) is in blocks.
- mapBamboo⚠
- mapBiome⚠
- mapBiome
Edge ⚠ - mapContinent⚠
- mapCool⚠
- mapDeep
Ocean ⚠ - mapEnd⚠
- mapEnd
Biome ⚠ - mapEnd
Island ⚠Height - mapEnd
Surface ⚠Height - mapHeat⚠
- mapHills⚠
- mapIsland⚠
- mapLand⚠
- mapLand16⚠
- mapLand
B18 ⚠ - mapMushroom⚠
- mapNether2D⚠
- mapNether3D⚠
- mapNoise⚠
- mapOcean
Mix ⚠ - mapOcean
Temp ⚠ - mapRiver⚠
- mapRiver
Mix ⚠ - mapShore⚠
- mapSmooth⚠
- mapSnow⚠
- mapSnow16⚠
- mapSpecial⚠
- mapSunflower⚠
- mapSwamp
River ⚠ - mapVoronoi⚠
- mapVoronoi114⚠
- mapVoronoi
Plane ⚠ - mapZoom⚠
- mapZoom
Fuzzy ⚠ - mblen⚠
- mbstowcs⚠
- mbtowc⚠
- mc2str⚠
- convert between version enum and text
- mkdtemp⚠
- mkstemp⚠
- mkstemps⚠
- mktemp⚠
- modf⚠
- modff⚠
- modfl⚠
- monte
Carlo ⚠Biomes - mrand48⚠
- mrand48_
r ⚠ - nan⚠
- nanf⚠
- nanl⚠
- nearbyint⚠
- nearbyintf⚠
- nearbyintl⚠
- next
Stronghold ⚠ - nextafter⚠
- nextafterf⚠
- nextafterl⚠
- nexttoward⚠
- nexttowardf⚠
- nexttowardl⚠
- nrand48⚠
- nrand48_
r ⚠ - octave
Init ⚠ - Perlin Octaves
- octave
Init ⚠Beta - on_exit⚠
- open_
memstream ⚠ - parse
Biome ⚠Colors - pclose⚠
- perlin
Init ⚠ - Perlin noise
- perror⚠
- popen⚠
- posix_
memalign ⚠ - pow⚠
- powf⚠
- powl⚠
- printf⚠
- pselect⚠
- putc⚠
- putc_
unlocked ⚠ - putchar⚠
- putchar_
unlocked ⚠ - putenv⚠
- puts⚠
- putw⚠
- qecvt⚠
- qecvt_r⚠
- qfcvt⚠
- qfcvt_r⚠
- qgcvt⚠
- qsort⚠
- quick_
exit ⚠ - rand⚠
- rand_r⚠
- random⚠
- random_
r ⚠ - realloc⚠
- reallocarray⚠
- realpath⚠
- remainder⚠
- remainderf⚠
- remainderl⚠
- remove⚠
- remquo⚠
- remquof⚠
- remquol⚠
- rename⚠
- renameat⚠
- rewind⚠
- rint⚠
- rintf⚠
- rintl⚠
- round⚠
- roundf⚠
- roundl⚠
- rpmatch⚠
- sample
Biome ⚠Noise - sample
Biome ⚠Noise Beta - sample
Climate ⚠Para - sample
Double ⚠Perlin - sample
Octave ⚠ - sample
Octave2D ⚠ - sample
Octave ⚠Amp - sample
Octave ⚠Beta17 Biome - sample
Octave ⚠Beta17 Terrain - sample
Perlin ⚠ - sample
Simplex2D ⚠ - sample
Surface ⚠Noise - sample
Surface ⚠Noise Between - savePPM⚠
- scalb⚠
- scalbf⚠
- scalbl⚠
- scalbln⚠
- scalblnf⚠
- scalblnl⚠
- scalbn⚠
- scalbnf⚠
- scalbnl⚠
- scan
ForQuads ⚠ - scanf⚠
- scanf1⚠
- search
All48 ⚠ - seed48⚠
- seed48_
r ⚠ - select⚠
- setBeta
Biome ⚠Seed - setBiome
Seed ⚠ - setClimate
Para ⚠Seed - Initialize BiomeNoise for only a single climate parameter. If nptype == NP_DEPTH, the value is sampled at y=0. Note that this value changes linearly with the height (i.e. -= y/128). A maximum of nmax octaves is set, initializing only the most contributing octaves up to that point. Use -1 for a full initialization.
- setEnd
Seed ⚠ - End biome generation is based on simplex noise and varies only at a 1:16 chunk scale which can be generated with mapEndBiome(). The function mapEnd() is a variation which also scales this up on a regular grid to 1:4. The final access at a 1:1 scale uses voronoi.
- setLayer
Seed ⚠ - setNether
Seed ⚠ - Nether biomes are 3D, and generated at scale 1:4. Use voronoiAccess3D() to convert coordinates at 1:1 scale to their 1:4 access. Biome checks for structures are generally done at y=0.
- setbuf⚠
- setbuffer⚠
- setenv⚠
- setlinebuf⚠
- setstate⚠
- setstate_
r ⚠ - setup
Biome ⚠Filter - setup
Generator ⚠ - Sets up a biome generator for a given MC version. The ‘flags’ can be used to control LARGE_BIOMES or to FORCE_OCEAN_VARIANTS to enable ocean variants at scales higher than normal.
- setup
Layer ⚠ - setup
Layer ⚠Stack - ============================================================================= Layered Biome Generation (old interface up to 1.17)
- setvbuf⚠
- significand⚠
- significandf⚠
- significandl⚠
- sin⚠
- sinf⚠
- sinh⚠
- sinhf⚠
- sinhl⚠
- sinl⚠
- snprintf⚠
- sprintf⚠
- sqrt⚠
- sqrtf⚠
- sqrtl⚠
- srand⚠
- srand48⚠
- srand48_
r ⚠ - srandom⚠
- srandom_
r ⚠ - sscanf⚠
- sscanf1⚠
- str2mc⚠
- strtod⚠
- strtof⚠
- strtoimax⚠
- strtol⚠
- strtold⚠
- strtoll⚠
- strtoq⚠
- strtoul⚠
- strtoull⚠
- strtoumax⚠
- strtouq⚠
- struct2str⚠
- get the resource id name for a structure
- system⚠
- tan⚠
- tanf⚠
- tanh⚠
- tanhf⚠
- tanhl⚠
- tanl⚠
- tempnam⚠
- tgamma⚠
- tgammaf⚠
- tgammal⚠
- tmpfile⚠
- tmpnam⚠
- tmpnam_
r ⚠ - trunc⚠
- truncf⚠
- truncl⚠
- ungetc⚠
- unsetenv⚠
- valloc⚠
- vasprintf⚠
- vdprintf⚠
- vfprintf⚠
- vfscanf⚠
- vfscanf1⚠
- voronoi
Access3D ⚠ - vprintf⚠
- vscanf⚠
- vscanf1⚠
- vsnprintf⚠
- vsprintf⚠
- vsscanf⚠
- vsscanf1⚠
- wcstoimax⚠
- wcstombs⚠
- wcstoumax⚠
- wctomb⚠
- xDouble
Perlin ⚠Init - xOctave
Init ⚠ - xPerlin
Init ⚠ - y0⚠
- y0f⚠
- y0l⚠
- y1⚠
- y1f⚠
- y1l⚠
- yn⚠
- ynf⚠
- ynl⚠
Type Aliases§
- FILE
- _Float32
- _Float64
- _Float32x
- _Float64x
- _IO_
lock_ t - __FILE
- __
blkcnt64_ t - __
blkcnt_ t - __
blksize_ t - __
builtin_ va_ list - __
caddr_ t - __
clock_ t - __
clockid_ t - __
compar_ fn_ t - __
daddr_ t - __dev_t
- __
fd_ mask - __
fpos64_ t - __
fpos_ t - __
fsblkcnt64_ t - __
fsblkcnt_ t - __
fsfilcnt64_ t - __
fsfilcnt_ t - __
fsword_ t - __gid_t
- __
gnuc_ va_ list - __
gwchar_ t - __id_t
- __
ino64_ t - __ino_t
- __
int8_ t - __
int16_ t - __
int32_ t - __
int64_ t - __
int_ least8_ t - __
int_ least16_ t - __
int_ least32_ t - __
int_ least64_ t - __
intmax_ t - __
intptr_ t - __key_t
- __
loff_ t - __
mode_ t - __
nlink_ t - __
off64_ t - __off_t
- __pid_t
- __
pthread_ list_ t - __
pthread_ slist_ t - __
quad_ t - __
rlim64_ t - __
rlim_ t - __
sig_ atomic_ t - __
socklen_ t - __
ssize_ t - __
suseconds64_ t - __
suseconds_ t - __
syscall_ slong_ t - __
syscall_ ulong_ t - __
thrd_ t - __
time_ t - __
timer_ t - __tss_t
- __
u_ char - __u_int
- __
u_ long - __
u_ quad_ t - __
u_ short - __uid_t
- __
uint8_ t - __
uint16_ t - __
uint32_ t - __
uint64_ t - __
uint_ least8_ t - __
uint_ least16_ t - __
uint_ least32_ t - __
uint_ least64_ t - __
uintmax_ t - __
useconds_ t - blkcnt_
t - blksize_
t - caddr_t
- clock_t
- clockid_
t - cookie_
close_ function_ t - cookie_
io_ functions_ t - cookie_
read_ function_ t - cookie_
seek_ function_ t - cookie_
write_ function_ t - daddr_t
- dev_t
- double_
t - f32_
- f64_
- fd_mask
- float_t
- fpos_t
- fsblkcnt_
t - fsfilcnt_
t - fsid_t
- gid_t
- i8_
- ============================================================================= Compiler and Platform Features
- i16_
- i32_
- i64_
- id_t
- ino_t
- int_
fast8_ t - int_
fast16_ t - int_
fast32_ t - int_
fast64_ t - int_
least8_ t - int_
least16_ t - int_
least32_ t - int_
least64_ t - intmax_
t - key_t
- loff_t
- mapfunc_
t - mode_t
- nlink_t
- off_t
- pid_t
- pthread_
key_ t - pthread_
once_ t - pthread_
spinlock_ t - pthread_
t - quad_t
- register_
t - sigset_
t - suseconds_
t - time_t
- timer_t
- u8_
- u16_
- u32_
- u64_
- u_char
- u_int
- u_
int8_ t - u_
int16_ t - u_
int32_ t - u_
int64_ t - u_long
- u_
quad_ t - u_short
- uid_t
- uint
- uint_
fast8_ t - uint_
fast16_ t - uint_
fast32_ t - uint_
fast64_ t - uint_
least8_ t - uint_
least16_ t - uint_
least32_ t - uint_
least64_ t - uintmax_
t - ulong
- ushort
- va_list
- wchar_t