Skip to main content

Module beacon_menu

Module beacon_menu 

Source
Expand description

Beacon menu.

A single payment slot plus the player inventory. Three data slots mirror the beacon’s pyramid level and configured effects, matching vanilla’s DATA_LEVELS, DATA_PRIMARY, and DATA_SECONDARY.

Structs§

BeaconKind
Per-menu beacon state.
PaymentContainer 🔒
Payment slot container; capped at 1 item like vanilla’s PaymentSlot.

Functions§

beacon
Builds the beacon menu.
encode_effect 🔒
Encodes an effect as vanilla’s BeaconMenu.encodeEffect: 0 for none, or the effect’s registry id plus one.