Alloy furnace - GUI I18n

+ TODO list update
This commit is contained in:
Emmanuel BENOîT 2016-06-24 14:36:53 +02:00
parent 8335dc6067
commit 1970cfe84d
3 changed files with 9 additions and 3 deletions

View file

@ -42,9 +42,11 @@ materials.ores No Zinc
-------------------------------------------------------------------------------------------------------
tech.base No Alloy furnace
-> search recipe
-> I18n
-> XP
-> 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
tech.base No Coke oven
-------------------------------------------------------------------------------------------------------

View file

@ -11,6 +11,7 @@ import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiButton;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.resources.I18n;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.ResourceLocation;
@ -132,8 +133,7 @@ public class TBAlloyFurnaceGui
this.bPrevious = new ArrowButton( 1 , 8 + x , 47 + y , false );
this.bNext = new ArrowButton( 2 , 156 + x , 47 + y , true );
this.bConfirm = new GuiButton( 3 , 24 + x , 84 + y , 128 , 20 , "Select recipe" ); // XXX
// I18n
this.bConfirm = new GuiButton( 3 , 24 + x , 84 + y , 128 , 20 , I18n.format( "gui.mmm.select_recipe" ) );
this.bPrevious.visible = this.bNext.visible = this.bConfirm.visible = false;
this.buttonList.add( this.bNext );

View file

@ -1,3 +1,7 @@
gui.mmm.select_recipe=Select Recipe
item.mmm.materials.stone.coke.name=Coke
item.mmm.materials.stone.slag.name=Slag
item.mmm.materials.nugget.iron.name=Iron Nugget