fix recipe highlighting position

This commit is contained in:
Darkere
2022-07-30 20:21:42 +02:00
committed by Raoul
parent 054e650b5a
commit a0c31f6f33

View File

@@ -30,6 +30,7 @@ public class RecipeTransferCraftingGridError implements IRecipeTransferError {
@Override @Override
public void showError(PoseStack poseStack, int mouseX, int mouseY, IRecipeSlotsView recipeSlotsView, int recipeX, int recipeY) { public void showError(PoseStack poseStack, int mouseX, int mouseY, IRecipeSlotsView recipeSlotsView, int recipeX, int recipeY) {
poseStack.translate(recipeX, recipeY, 0);
List<Component> message = drawIngredientHighlights(poseStack, recipeX, recipeY); List<Component> message = drawIngredientHighlights(poseStack, recipeX, recipeY);
Screen currentScreen = Minecraft.getInstance().screen; Screen currentScreen = Minecraft.getInstance().screen;