Joe Rod
Discord: joerod1
Is there a way to get current page on container with pagination?
I.E. If i am
current page it would be 2
update:
I'm trying to get container slot to get its item (if any) there when i'm moving an item into that container. On first page is ok because getItemByIndex(index) do the work, but problem starts on other pages which i cannot figure the way to get the item there.
I know i can get the number of items using size() and indexes come from 0 to capacity() - 1, but no idea how to use those to calculate actual item index/slot
I.E. If i am
current page it would be 2
update:
I'm trying to get container slot to get its item (if any) there when i'm moving an item into that container. On first page is ok because getItemByIndex(index) do the work, but problem starts on other pages which i cannot figure the way to get the item there.
I know i can get the number of items using size() and indexes come from 0 to capacity() - 1, but no idea how to use those to calculate actual item index/slot
Last edited: