|
34 | 34 | public class SmithingRecipeCategory implements IRecipeCategory<RecipeHolder<SmithingRecipe>>, IExtendableSmithingRecipeCategory {
|
35 | 35 | private final IDrawable background;
|
36 | 36 | private final IDrawable icon;
|
37 |
| - private final IDrawable slot; |
38 | 37 | private final IDrawable recipeArrow;
|
39 | 38 | private final Map<Class<? extends SmithingRecipe>, ISmithingCategoryExtension<?>> extensions = new HashMap<>();
|
40 | 39 |
|
41 | 40 | public SmithingRecipeCategory(IGuiHelper guiHelper) {
|
42 | 41 | background = guiHelper.createBlankDrawable(108, 28);
|
43 |
| - slot = guiHelper.getSlotDrawable(); |
44 | 42 | icon = guiHelper.createDrawableItemLike(Blocks.SMITHING_TABLE);
|
45 | 43 | Textures textures = Internal.getTextures();
|
46 | 44 | recipeArrow = textures.getRecipeArrow();
|
@@ -76,16 +74,16 @@ public void setRecipe(IRecipeLayoutBuilder builder, RecipeHolder<SmithingRecipe>
|
76 | 74 | }
|
77 | 75 |
|
78 | 76 | IRecipeSlotBuilder templateSlot = builder.addSlot(RecipeIngredientRole.INPUT, 1, 6)
|
79 |
| - .setBackground(slot, -1, -1); |
| 77 | + .setStandardSlotBackground(); |
80 | 78 |
|
81 | 79 | IRecipeSlotBuilder baseSlot = builder.addSlot(RecipeIngredientRole.INPUT, 19, 6)
|
82 |
| - .setBackground(slot, -1, -1); |
| 80 | + .setStandardSlotBackground(); |
83 | 81 |
|
84 | 82 | IRecipeSlotBuilder additionSlot = builder.addSlot(RecipeIngredientRole.INPUT, 37, 6)
|
85 |
| - .setBackground(slot, -1, -1); |
| 83 | + .setStandardSlotBackground(); |
86 | 84 |
|
87 | 85 | IRecipeSlotBuilder outputSlot = builder.addSlot(RecipeIngredientRole.OUTPUT, 91, 6)
|
88 |
| - .setBackground(slot, -1, -1); |
| 86 | + .setStandardSlotBackground(); |
89 | 87 |
|
90 | 88 | extension.setTemplate(recipe, templateSlot);
|
91 | 89 | extension.setBase(recipe, baseSlot);
|
|
0 commit comments