@basalt/menus, Basalt's own module (Mojang has none): container windows with no block behind them, as PowerNukkitX's FakeInventory opens them.
@basalt/menus, Basalt’s own module (Mojang has none): container windows with no block behind
them, as PowerNukkitX’s FakeInventory opens them. The player is sent a block only they see,
just above their head, and the window opens on it; when it closes, however it closes, they’re
sent the real block back.
A menu’s slots are the plugin’s. They change when the plugin sets them or when a click its handlers allow moves items, and nothing in them falls into the world when the window closes or the player dies or leaves.
import { ChestMenu } from '@basalt/menus';Classes
Section titled “Classes”
ChestMenu ClassA
Menu of a chest, or with large of a double chest.
MenuClassA container window with no block behind it.