This commit is contained in:
Aleksey 2020-09-29 17:57:46 +03:00
parent 7d311ca3d7
commit 43993d13bc
5 changed files with 86 additions and 18 deletions

View file

@ -37,7 +37,7 @@ public class EndStoneSmelterScreen extends HandledScreen<EndStoneSmelterScreenHa
this.recipeBook.reset(narrow);
this.recipeBook.toggleOpen();
this.x = this.recipeBook.findLeftEdge(narrow, width, backgroundWidth);
((TexturedButtonWidget)buttonWidget).setPos(this.x + 20, height / 2 - 49);
((TexturedButtonWidget) buttonWidget).setPos(this.x + 20, height / 2 - 49);
}));
this.titleX = (this.backgroundWidth - this.textRenderer.getWidth((StringVisitable)this.title)) / 2;
}