menuBackground

Paints the selected Minecraft menu texture behind the modified component's content.

Paint repeats the 16 by 16 profile image as nearest-sampled 32 by 32 logical tiles in row-major order and preserves overflowing edge tiles. This behavior does not alter measurement and is available only while a Minecraft screen-content callback is active on its owner thread.

Receiver

immutable modifier chain extended inside the active screen callback.

Return

a new chain retaining the immutable menu asset in one active paint modifier.

Throws

when used from another thread or outside the callback.

when a final overflowing tile edge is not representable during paint.