mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 19:39:24 +01:00
wake me up inside
This commit is contained in:
parent
3e0f163fac
commit
498358ddcb
4 changed files with 3 additions and 8 deletions
|
@ -65,7 +65,7 @@ public class GuiBioReactor extends GuiContainer{
|
|||
}
|
||||
|
||||
if(this.tile.producePerTick > 0){
|
||||
this.drawCenteredString(this.fontRendererObj, this.tile.producePerTick+" RF/t", this.guiLeft+87, this.guiTop+86, 0xFFFFFF);
|
||||
this.drawCenteredString(this.fontRendererObj, this.tile.producePerTick+" CF/t", this.guiLeft+87, this.guiTop+86, 0xFFFFFF);
|
||||
}
|
||||
|
||||
this.energy.draw();
|
||||
|
|
|
@ -58,11 +58,6 @@ public class GuiCoffeeMachine extends GuiContainer{
|
|||
public void drawScreen(int x, int y, float f){
|
||||
super.drawScreen(x, y, f);
|
||||
|
||||
String text1 = this.machine.storage.getEnergyStored()+"/"+this.machine.storage.getMaxEnergyStored()+" RF";
|
||||
if(x >= this.guiLeft+16 && y >= this.guiTop+5 && x <= this.guiLeft+23 && y <= this.guiTop+89){
|
||||
this.drawHoveringText(Collections.singletonList(text1), x, y);
|
||||
}
|
||||
|
||||
String text2 = this.machine.coffeeCacheAmount+"/"+TileEntityCoffeeMachine.COFFEE_CACHE_MAX_AMOUNT+" "+StringUtil.localize("info."+ModUtil.MOD_ID+".gui.coffee");
|
||||
if(x >= this.guiLeft+40 && y >= this.guiTop+25 && x <= this.guiLeft+49 && y <= this.guiTop+56){
|
||||
this.drawHoveringText(Collections.singletonList(text2), x, y);
|
||||
|
|
|
@ -72,7 +72,7 @@ public class GuiOilGenerator extends GuiContainer{
|
|||
}
|
||||
|
||||
if(this.generator.maxBurnTime > 0 && this.generator.currentEnergyProduce > 0){
|
||||
this.drawCenteredString(this.fontRendererObj, this.generator.currentEnergyProduce+" RF/t", this.guiLeft+87, this.guiTop+65, 0xFFFFFF);
|
||||
this.drawCenteredString(this.fontRendererObj, this.generator.currentEnergyProduce+" CF/t", this.guiLeft+87, this.guiTop+65, 0xFFFFFF);
|
||||
this.drawCenteredString(this.fontRendererObj, "for "+this.generator.maxBurnTime+" t", this.guiLeft+87, this.guiTop+75, 0xFFFFFF);
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ public class ReconstructorRecipeWrapper extends RecipeWrapperWithButton{
|
|||
|
||||
@Override
|
||||
public void drawInfo(Minecraft minecraft, int recipeWidth, int recipeHeight, int mouseX, int mouseY){
|
||||
minecraft.fontRendererObj.drawString(this.theRecipe.energyUse+" RF", 55, 0, 0xFFFFFF, true);
|
||||
minecraft.fontRendererObj.drawString(this.theRecipe.energyUse+" CF", 55, 0, 0xFFFFFF, true);
|
||||
super.drawInfo(minecraft, recipeWidth, recipeHeight, mouseX, mouseY);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue