PlayerSlots¶
@Composable
fun PlayerSlots()
Renders the standard 4-row player inventory (3 main rows + hotbar) as Slot composables.
The 58-pixel gap between the main inventory and the hotbar matches the pixel offset used by ComposeContainerMenuBase.addPlayerSlots so positions reported to the menu are consistent.
May be called from more than one place at once, and the deepest layer wins - the same claiming any named Slots group gets, under SlotData.PLAYER_GROUP_ID; see SlotData.slotGroupOwner. A caller that does not own the row reserves the same footprint and draws nothing, so the layout it sits in neither jumps nor shows a second, itemless inventory; the real row appears at the owner's position, above.