Zig API¶
Package .pier, exported module levilamina. levilamina.slot("name") reaches all 201 slots of abi.h, whose parameters and results are on the C++ pages; the pages below list the functions and methods built on slot.
props_gen.zig and nbt.zig are public as levilamina.props and levilamina.nbt; Player, Entity, BlockAt, Item and SelKind are re-exported at the root under the same names.
| Page | Functions and methods | Types | Constants |
|---|---|---|---|
| Core | 20 | 4 | 2 |
| Events | 4 | 3 | 0 |
| Commands | 4 | 2 | 0 |
| Server, ticks and system information | 8 | 0 | 0 |
| Players | 83 | 2 | 0 |
| Actors | 86 | 1 | 0 |
| Blocks | 43 | 1 | 0 |
| Items and containers | 40 | 1 | 0 |
| Cross-mod | 11 | 6 | 0 |
| SNBT | 6 | 3 | 1 |