(ResourceLocation image, int x, int y, int width, int height)
| 91 | } |
| 92 | |
| 93 | public static void drawImage(ResourceLocation image, int x, int y, int width, int height) { |
| 94 | OpenGlHelper.glBlendFunc(770, 771, 1, 0); |
| 95 | GL11.glColor4f(1.0f, 1.0f, 1.0f, 1.0f); |
| 96 | Minecraft.getMinecraft().getTextureManager().bindTexture(image); |
| 97 | Gui.drawModalRectWithCustomSizedTexture(x, y, 0.0f, 0.0f, width, height, width, height); |
| 98 | } |
| 99 | |
| 100 | |
| 101 | public static Vector3d project(double x, double y, double z) { |
no test coverage detected