1.14.2
This commit is contained in:
parent
4479116d1c
commit
f8f20ce6ba
81 changed files with 280 additions and 434 deletions
|
@ -50,7 +50,7 @@ public enum EGui implements IMachineGuiHandler {
|
|||
DESTRUCTOPACK(false),
|
||||
DIESEL_GENERATOR(true),
|
||||
DIGITAL_CHEST(true),
|
||||
EnvTypeILLATION_TOWER(true),
|
||||
DISTILLATION_TOWER(true),
|
||||
ELECTRIC_FURNACE(true),
|
||||
EXTRACTOR(true),
|
||||
FUSION_CONTROLLER(true),
|
||||
|
|
|
@ -164,7 +164,7 @@ public class GuiHandler {
|
|||
return new GuiAutoCrafting(player, (TileAutoCraftingTable) tile);
|
||||
case PLASMA_GENERATOR:
|
||||
return new GuiPlasmaGenerator(player, (TilePlasmaGenerator) tile);
|
||||
case EnvTypeILLATION_TOWER:
|
||||
case DISTILLATION_TOWER:
|
||||
return new GuiDistillationTower(player, (TileDistillationTower) tile);
|
||||
case FLUID_REPLICATOR:
|
||||
return new GuiFluidReplicator(player, (TileFluidReplicator) tile);
|
||||
|
|
|
@ -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