added speedMultiplier to the crafter
This commit is contained in:
parent
edabf79b1e
commit
6185bcd694
7 changed files with 32 additions and 9 deletions
|
@ -41,7 +41,7 @@ public class GuiAlloySmelter extends GuiContainer {
|
|||
int j = 0;
|
||||
|
||||
if(alloysmelter.crafter.currentRecipe != null) {
|
||||
j = this.alloysmelter.crafter.currentTickTime * 24 / this.alloysmelter.crafter.currentRecipe.tickTime();
|
||||
j = this.alloysmelter.crafter.currentTickTime * 24 / this.alloysmelter.crafter.currentNeededTicks;
|
||||
}
|
||||
this.drawTexturedModalRect(k + 79, l + 34, 176, 14, j + 1, 16);
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ public class GuiCentrifuge extends GuiContainer {
|
|||
int j = 0;
|
||||
|
||||
if(centrifuge.crafter.currentRecipe != null) {
|
||||
j = this.centrifuge.crafter.currentTickTime * 11 / this.centrifuge.crafter.currentRecipe.tickTime();
|
||||
j = this.centrifuge.crafter.currentTickTime * 11 / this.centrifuge.crafter.currentNeededTicks;
|
||||
}
|
||||
this.drawTexturedModalRect(k + 83, l + 23 + 10 - j, 177, 15 + 10 - j, 10, j);
|
||||
this.drawTexturedModalRect(k + 98, l + 38, 177, 51, j, 10);
|
||||
|
|
|
@ -34,7 +34,7 @@ public class GuiGrinder extends GuiContainer{
|
|||
int j = 0;
|
||||
|
||||
if(grinder.crafter.currentRecipe != null) {
|
||||
j = this.grinder.crafter.currentTickTime * 24 / this.grinder.crafter.currentRecipe.tickTime();
|
||||
j = this.grinder.crafter.currentTickTime * 24 / this.grinder.crafter.currentNeededTicks;
|
||||
}
|
||||
this.drawTexturedModalRect(k + 51, l + 35, 176, 14, j + 1, 16);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue