Skip to main content

Module kind

Module kind 

Source
Expand description

Per-menu behavior hooks.

Traits§

MenuKind
Per-menu behavior that isn’t shared: recompute-on-change, validity, close cleanup, and the optional shift-click override.

Functions§

still_valid_block
Vanilla’s static AbstractContainerMenu.stillValid(access, player, block), renamed so it does not read as MenuKind::still_valid: the block at pos is still block and the player is within reach.