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

Method renderTextureOverlay

Minecraft-Utils/1.8.9/src/Variables.java:1107–1119  ·  view source on GitHub ↗
(int x1, int x2, int y1, int y2)

Source from the content-addressed store, hash-verified

1105 }
1106
1107 @Override
1108 public void renderTextureOverlay(int x1, int x2, int y1, int y2) {
1109 bfx var4 = bfx.a();
1110 bfd var5 = var4.c();
1111 bindTexture(avp.b);
1112 GLUtil.color(1.0F, 1.0F, 1.0F, 1.0F);
1113 var5.a(7, bms.i);
1114 var5.b((double) x1, (double) y2, 0.0D).a(0.0D, (double) ((float) y2 / 32.0F)).b(64, 64, 64, 255).d();
1115 var5.b((double) (x1 + x2), (double) y2, 0.0D).a((double) ((float) x2 / 32.0F), (double) ((float) y2 / 32.0F)).b(64, 64, 64, 255).d();
1116 var5.b((double) (x1 + x2), (double) y1, 0.0D).a((double) ((float) x2 / 32.0F), (double) ((float) y1 / 32.0F)).b(64, 64, 64, 255).d();
1117 var5.b((double) x1, (double) y1, 0.0D).a(0.0D, (double) ((float) y1 / 32.0F)).b(64, 64, 64, 255).d();
1118 var4.b();
1119 }
1120
1121 @Override
1122 public void setIngameFocus() {

Callers

nothing calls this directly

Calls 6

bindTextureMethod · 0.95
colorMethod · 0.95
aMethod · 0.45
cMethod · 0.45
dMethod · 0.45
bMethod · 0.45

Tested by

no test coverage detected