The bindings under src/wit are generated from the pumpkin-plugin-wit submodule by tools/gen.zig. The canonical ABI is handled at comptime in src/abi.zig, so plugins are plain wasm32-freestanding modules and only need wasm-tools to become a component. On top of that there is a small hand written layer: plugin registration, typed event handlers, declarative commands (cmd), text components from struct literals (msg) and std.log support.
71 lines
1.2 KiB
Zig
71 lines
1.2 KiB
Zig
// Generated by tools/gen.zig, do not edit.
|
|
|
|
pub const Biome = enum(u8) {
|
|
badlands,
|
|
bamboo_jungle,
|
|
basalt_deltas,
|
|
beach,
|
|
birch_forest,
|
|
cherry_grove,
|
|
cold_ocean,
|
|
crimson_forest,
|
|
dark_forest,
|
|
deep_cold_ocean,
|
|
deep_dark,
|
|
deep_frozen_ocean,
|
|
deep_lukewarm_ocean,
|
|
deep_ocean,
|
|
desert,
|
|
dripstone_caves,
|
|
end_barrens,
|
|
end_highlands,
|
|
end_midlands,
|
|
eroded_badlands,
|
|
flower_forest,
|
|
forest,
|
|
frozen_ocean,
|
|
frozen_peaks,
|
|
frozen_river,
|
|
grove,
|
|
ice_spikes,
|
|
jagged_peaks,
|
|
jungle,
|
|
lukewarm_ocean,
|
|
lush_caves,
|
|
mangrove_swamp,
|
|
meadow,
|
|
mushroom_fields,
|
|
nether_wastes,
|
|
ocean,
|
|
old_growth_birch_forest,
|
|
old_growth_pine_taiga,
|
|
old_growth_spruce_taiga,
|
|
pale_garden,
|
|
plains,
|
|
river,
|
|
savanna,
|
|
savanna_plateau,
|
|
small_end_islands,
|
|
snowy_beach,
|
|
snowy_plains,
|
|
snowy_slopes,
|
|
snowy_taiga,
|
|
soul_sand_valley,
|
|
sparse_jungle,
|
|
stony_peaks,
|
|
stony_shore,
|
|
sulfur_caves,
|
|
sunflower_plains,
|
|
swamp,
|
|
taiga,
|
|
the_end,
|
|
the_void,
|
|
warm_ocean,
|
|
warped_forest,
|
|
windswept_forest,
|
|
windswept_gravelly_hills,
|
|
windswept_hills,
|
|
windswept_savanna,
|
|
wooded_badlands,
|
|
};
|