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

Method drawSlot

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

Source from the content-addressed store, hash-verified

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

Callers 2

aMethod · 0.95
bMethod · 0.95

Calls 3

drawMethod · 0.95
sizeMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected