Skip to content

Commit

Permalink
JEI works (Need to place the items in the correct positions)
Browse files Browse the repository at this point in the history
  • Loading branch information
TonimatasDEV committed Mar 28, 2024
1 parent 3287087 commit 49d7c13
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public CombiningStationRecipeCategory(IGuiHelper helper) {

@Override
public void setRecipe(IRecipeLayoutBuilder builder, CombiningRecipe recipe, IFocusGroup focusGroup) {
builder.addSlot(RecipeIngredientRole.INPUT, 70, 15).addIngredients(recipe.getIngredients().get(0));
builder.addSlot(RecipeIngredientRole.INPUT, 88, 15).addIngredients(recipe.getIngredients().get(1));
builder.addSlot(RecipeIngredientRole.INPUT, 70, 15).addIngredients(recipe.ingredients().get(0));
builder.addSlot(RecipeIngredientRole.INPUT, 88, 15).addIngredients(recipe.ingredients().get(1));
builder.addSlot(RecipeIngredientRole.INPUT, 80, 48).addIngredients(Ingredient.of(Items.COAL));
builder.addSlot(RecipeIngredientRole.OUTPUT, 80, 70).addItemStack(recipe.result());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public CrushingStationRecipeCategory(IGuiHelper helper) {

@Override
public void setRecipe(IRecipeLayoutBuilder builder, CrushingRecipe recipe, IFocusGroup focusGroup) {
builder.addSlot(RecipeIngredientRole.INPUT, 79, 5).addIngredients(recipe.getIngredients().get(0));
builder.addSlot(RecipeIngredientRole.INPUT, 79, 5).addIngredients(recipe.ingredient());
builder.addSlot(RecipeIngredientRole.INPUT, 54, 64).addIngredients(Ingredient.of(Items.COAL));
builder.addSlot(RecipeIngredientRole.OUTPUT, 133, 34).addItemStack(recipe.result());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public CuttingStationRecipeCategory(IGuiHelper helper) {

@Override
public void setRecipe(IRecipeLayoutBuilder builder, CuttingRecipe recipe, IFocusGroup focusGroup) {
builder.addSlot(RecipeIngredientRole.INPUT, 57, 18).addIngredients(recipe.getIngredients().get(0));
builder.addSlot(RecipeIngredientRole.INPUT, 57, 18).addIngredients(recipe.ingredient());
builder.addSlot(RecipeIngredientRole.OUTPUT, 80, 60).addItemStack(recipe.result());
}
}

0 comments on commit 49d7c13

Please sign in to comment.