Skip to content

Go API

Module github.com/Maskviva/pier/bindings/go, package levilamina. The pages are by subject and share their file names with the C++ pages: a method is on the page of its receiver type, and a function on the subject page of the first slot it calls.

levilamina.Raw has one typed method for every slot without a callback, all listed on the Raw page. The slots with a callback are reached through hand-written functions such as Subscribe, RegisterCommand and BusSubscribe.

Page Functions and methods Types Constants
Core 13 9 4
Events 11 4 5
Commands 23 10 28
Server, ticks and system information 30 0 14
World 33 7 0
Bulk world editing 3 0 0
Players 123 6 88
Actors 122 7 113
Blocks 61 2 47
Items and containers 69 5 57
Scoreboard 1 0 0
Forms 1 0 0
NBT and the key-value database 12 3 0
Economy 10 2 4
Packets 8 5 3
Simulated players 4 0 0
Client 116 2 102
Native escape hatch 13 3 14
Custom dimensions 16 4 0
Cross-mod 26 11 4
Registries 1 0 0
SNBT 14 2 12
Raw 193 1 0