Skip to content

Zig API

Package .pier, exported module levilamina. levilamina.slot("name") reaches all 223 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 31 8 2
Server, ticks and system information 42 3 0
World 50 11 3
Players 116 2 0
Actors 120 1 0
Blocks 52 1 0
Items and containers 83 3 0
Scoreboard 11 2 0
Forms 33 7 1
NBT and the key-value database 9 2 0
Economy 10 2 0
Packets 16 6 0
Simulated players 24 1 0
Client 109 3 1
Native escape hatch 11 2 6
Custom dimensions 19 8 1
Cross-mod 22 11 2
Registries 8 4 1
SNBT 26 5 1
Shared types 15 23 4