fix recipe highlighting position
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user