(int id, int x, int y, int slotHeight, int mouseX, int mouseY)
| 111 | } |
| 112 | |
| 113 | protected void drawSlot(int id, int x, int y, int slotHeight, int mouseX, int mouseY) { |
| 114 | synchronized (rows) { |
| 115 | if (id < 0 || id >= rows.size()) |
| 116 | return; |
| 117 | Row selectedRow = rows.get(id); |
| 118 | selectedRow.draw(x, y); |
| 119 | if (selectedRow instanceof RowExtended) { |
| 120 | ((RowExtended) selectedRow).draw(x, y, slotHeight, mouseX, mouseY); |
| 121 | } |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | @Override |
| 126 | public void drawScreen(int mouseX, int mouseY, float partialTicks) { |