This commit is contained in:
TheVitya2127 2026-07-25 23:16:06 +04:00
parent 7749cf4adf
commit f617e165cf
2 changed files with 3 additions and 3 deletions

View File

@ -47,12 +47,12 @@ public class ContainerMachineRefinery extends Container {
for(int i = 0; i < 3; i++) {
for(int j = 0; j < 9; j++) {
this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 150 + i * 18));
this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 11 + j * 18, 158 + i * 18));
}
}
for(int i = 0; i < 9; i++) {
this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 208));
this.addSlotToContainer(new Slot(invPlayer, i, 11 + i * 18, 216));
}
}

View File

@ -47,7 +47,7 @@ public class GUIMachineRefinery extends GuiInfoContainer {
String name = this.refinery.hasCustomInventoryName() ? this.refinery.getInventoryName() : I18n.format(this.refinery.getInventoryName());
this.fontRendererObj.drawString(name, this.xSize / 2 - 36 / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752);
this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 4, 4210752);
this.fontRendererObj.drawString(I18n.format("container.inventory"), 11, this.ySize - 96 + 2, 4210752);
}
@Override