public static void drawSlotTexture(Texture texture, float x, float y, float slotScale) { //this function knows how to clip a blockTexture for use as a slotTexture GuiFunctions.drawClippedTexture(texture, 48, 24, 16, 32, x, y, slotScale); }