MCPcopy Create free account
hub / github.com/5zig/The-5zig-Mod / drawSlot

Method drawSlot

Minecraft-Utils/1.13/src/GuiList.java:117–127  ·  view source on GitHub ↗
(int id, int x, int y, int slotHeight, int mouseX, int mouseY)

Source from the content-addressed store, hash-verified

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) {

Callers 1

aMethod · 0.95

Calls 3

drawMethod · 0.95
sizeMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected