1.14.2
This commit is contained in:
parent
4479116d1c
commit
f8f20ce6ba
81 changed files with 280 additions and 434 deletions
|
@ -53,11 +53,11 @@ public class GuiDigitalChest extends GuiBase {
|
|||
|
||||
if (!tile.storedItem.isEmpty() && tile.inventory.getInvStack(1) != null) {
|
||||
builder.drawBigBlueBar(this, 31, 43,
|
||||
tile.storedItem.getAmount() + tile.inventory.getInvStack(1).getAmount(),
|
||||
tile.storedItem.getCount() + tile.inventory.getInvStack(1).getCount(),
|
||||
tile.maxCapacity, mouseX - left, mouseY - top, "Stored", layer);
|
||||
}
|
||||
if (tile.storedItem.isEmpty() && tile.inventory.getInvStack(1) != null) {
|
||||
builder.drawBigBlueBar(this, 31, 43, tile.inventory.getInvStack(1).getAmount(),
|
||||
builder.drawBigBlueBar(this, 31, 43, tile.inventory.getInvStack(1).getCount(),
|
||||
tile.maxCapacity, mouseX - left, mouseY - top, "Stored", layer);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -52,10 +52,10 @@ public class GuiQuantumChest extends GuiBase {
|
|||
final Layer layer = Layer.FOREGROUND;
|
||||
|
||||
if (!this.quantumChest.storedItem.isEmpty() && !this.quantumChest.inventory.getInvStack(1).isEmpty()) {
|
||||
this.builder.drawBigBlueBar(this, 31, 43, this.quantumChest.storedItem.getAmount() + this.quantumChest.inventory.getInvStack(1).getAmount(), this.quantumChest.maxCapacity, mouseX - this.left, mouseY - this.top, "Stored", layer);
|
||||
this.builder.drawBigBlueBar(this, 31, 43, this.quantumChest.storedItem.getCount() + this.quantumChest.inventory.getInvStack(1).getCount(), this.quantumChest.maxCapacity, mouseX - this.left, mouseY - this.top, "Stored", layer);
|
||||
}
|
||||
if (this.quantumChest.storedItem.isEmpty() && !this.quantumChest.inventory.getInvStack(1).isEmpty()) {
|
||||
this.builder.drawBigBlueBar(this, 31, 43, this.quantumChest.inventory.getInvStack(1).getAmount(), this.quantumChest.maxCapacity, mouseX - this.left, mouseY - this.top, "Stored", layer);
|
||||
this.builder.drawBigBlueBar(this, 31, 43, this.quantumChest.inventory.getInvStack(1).getCount(), this.quantumChest.maxCapacity, mouseX - this.left, mouseY - this.top, "Stored", layer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue