correct texture for solderer GUI in JEI

This commit is contained in:
Raoul Van den Berge
2016-01-28 09:38:23 +01:00
parent ace66cec1b
commit dded32c3b0

View File

@@ -17,7 +17,7 @@ public class SoldererRecipeCategory implements IRecipeCategory
public SoldererRecipeCategory(IGuiHelper helper) public SoldererRecipeCategory(IGuiHelper helper)
{ {
background = helper.createDrawable(new ResourceLocation("storagecraft", "textures/gui/solderer.png"), 0, 0, 176, 177); background = helper.createDrawable(new ResourceLocation("storagecraft", "textures/gui/solderer.png"), 8, 5, 162, 89);
} }
@Override @Override
@@ -53,8 +53,8 @@ public class SoldererRecipeCategory implements IRecipeCategory
{ {
IGuiItemStackGroup group = recipeLayout.getItemStacks(); IGuiItemStackGroup group = recipeLayout.getItemStacks();
int x = 44; int x = 44 - 9;
int y = 20; int y = 20 - 6;
for (int i = 0; i < 3; ++i) for (int i = 0; i < 3; ++i)
{ {
@@ -63,7 +63,7 @@ public class SoldererRecipeCategory implements IRecipeCategory
y += 18; y += 18;
} }
group.init(3, false, 134, 38); group.init(3, false, 134 - 9, 38 - 6);
if (recipeWrapper instanceof SoldererRecipeWrapper) if (recipeWrapper instanceof SoldererRecipeWrapper)
{ {