Wow, i've just seen your message thank you !
I fixed the "Inventory" and the name that were missing for the GUI and now slots are aligned with the GUI yaay.
but i can't figure out how to draw my hotbar ^^'
private void drawHotbar(int startPlayerInvX, int slotSizePlus2, int hotbarY, final IItemHandler playerInventoryHandler){
//hotbar
//int hotbarY = 170;
for(int collumn = 0; collumn < 9 ; ++collumn){
addSlot(playerInventoryHandler, collumn, startPlayerInvX + (collumn* slotSizePlus2), hotbarY);
}
}
Here is what i tried in my "container" class with playerInventoryHandler = new InvWrapper(playerInventory) but still it doesn't work
Could you please explain me what's wrong ?
Thanks