Alloy furnace - GUI I18n
+ TODO list update
This commit is contained in:
parent
8335dc6067
commit
1970cfe84d
3 changed files with 9 additions and 3 deletions
4
TODO.txt
4
TODO.txt
|
@ -42,9 +42,11 @@ materials.ores No Zinc
|
||||||
-------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------
|
||||||
tech.base No Alloy furnace
|
tech.base No Alloy furnace
|
||||||
-> search recipe
|
-> search recipe
|
||||||
-> I18n
|
|
||||||
-> XP
|
-> XP
|
||||||
-> let output hoppers take empty buckets / invalid input
|
-> let output hoppers take empty buckets / invalid input
|
||||||
|
(make that configurable)
|
||||||
|
-> comparator signal configuration
|
||||||
|
(inventory mode w/ combinations, valid ingredients, burn time, alloying time)
|
||||||
-> code clean-up
|
-> code clean-up
|
||||||
tech.base No Coke oven
|
tech.base No Coke oven
|
||||||
-------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------
|
||||||
|
|
|
@ -11,6 +11,7 @@ import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.client.gui.GuiButton;
|
import net.minecraft.client.gui.GuiButton;
|
||||||
import net.minecraft.client.gui.inventory.GuiContainer;
|
import net.minecraft.client.gui.inventory.GuiContainer;
|
||||||
import net.minecraft.client.renderer.GlStateManager;
|
import net.minecraft.client.renderer.GlStateManager;
|
||||||
|
import net.minecraft.client.resources.I18n;
|
||||||
import net.minecraft.entity.player.InventoryPlayer;
|
import net.minecraft.entity.player.InventoryPlayer;
|
||||||
import net.minecraft.tileentity.TileEntity;
|
import net.minecraft.tileentity.TileEntity;
|
||||||
import net.minecraft.util.ResourceLocation;
|
import net.minecraft.util.ResourceLocation;
|
||||||
|
@ -132,8 +133,7 @@ public class TBAlloyFurnaceGui
|
||||||
|
|
||||||
this.bPrevious = new ArrowButton( 1 , 8 + x , 47 + y , false );
|
this.bPrevious = new ArrowButton( 1 , 8 + x , 47 + y , false );
|
||||||
this.bNext = new ArrowButton( 2 , 156 + x , 47 + y , true );
|
this.bNext = new ArrowButton( 2 , 156 + x , 47 + y , true );
|
||||||
this.bConfirm = new GuiButton( 3 , 24 + x , 84 + y , 128 , 20 , "Select recipe" ); // XXX
|
this.bConfirm = new GuiButton( 3 , 24 + x , 84 + y , 128 , 20 , I18n.format( "gui.mmm.select_recipe" ) );
|
||||||
// I18n
|
|
||||||
this.bPrevious.visible = this.bNext.visible = this.bConfirm.visible = false;
|
this.bPrevious.visible = this.bNext.visible = this.bConfirm.visible = false;
|
||||||
|
|
||||||
this.buttonList.add( this.bNext );
|
this.buttonList.add( this.bNext );
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
gui.mmm.select_recipe=Select Recipe
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
item.mmm.materials.stone.coke.name=Coke
|
item.mmm.materials.stone.coke.name=Coke
|
||||||
item.mmm.materials.stone.slag.name=Slag
|
item.mmm.materials.stone.slag.name=Slag
|
||||||
item.mmm.materials.nugget.iron.name=Iron Nugget
|
item.mmm.materials.nugget.iron.name=Iron Nugget
|
||||||
|
|
Reference in a new issue