This commit is contained in:
modmuss50 2020-03-18 20:58:31 +00:00
parent 99b2755887
commit e4fb1773f3
31 changed files with 56 additions and 56 deletions

View file

@ -69,7 +69,7 @@ public class GuiGreenhouseController extends GuiBase<BuiltScreenHandler> {
if (!blockEntity.getMultiBlock()) {
getMinecraft().getTextureManager().bindTexture(new Identifier("techreborn", "textures/item/part/digital_display.png"));
blit(x + 68, y + 22, 0, 0, 16, 16, 16, 16);
drawTexture(x + 68, y + 22, 0, 0, 16, 16, 16, 16);
if (isPointInRect(68, 22, 16, 16, mouseX, mouseY)) {
List<String> list = Arrays.asList(StringUtils.t("techreborn.tooltip.greenhouse.upgrade_available").split("\\r?\\n"));
RenderSystem.pushMatrix();

View file

@ -88,7 +88,7 @@ public class GuiManual extends Screen {
client.getTextureManager().bindTexture(GuiManual.texture);
int centerX = (width / 2) - guiWidth / 2;
int centerY = (height / 2) - guiHeight / 2;
blit(centerX, centerY, 0, 0, guiWidth, guiHeight);
drawTexture(centerX, centerY, 0, 0, guiWidth, guiHeight);
textRenderer.draw(text1, ((width / 2) - textRenderer.getStringWidth(text1) / 2), centerY + 40, 4210752);
textRenderer.draw(text2, ((width / 2) - textRenderer.getStringWidth(text2) / 2), centerY + 90, 4210752);
if (TechRebornConfig.allowManualRefund) {