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 8 4
Events 11 4 5
Commands 23 10 28
Server, ticks and system information 16 0 8
World 17 4 0
Bulk world editing 2 0 0
Players 103 5 77
Actors 94 3 85
Blocks 50 2 42
Items and containers 52 4 44
Scoreboard 1 0 0
Forms 1 0 0
NBT and the key-value database 11 3 0
Economy 7 2 4
Packets 8 5 3
Simulated players 4 0 0
Client 3 2 0
Custom dimensions 7 1 0
Cross-mod 17 6 4
Registries 1 0 0
SNBT 14 2 12
Raw 173 1 0