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