diff --git a/TODO.txt b/TODO.txt index cd2ff2b..fcd50eb 100644 --- a/TODO.txt +++ b/TODO.txt @@ -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 ------------------------------------------------------------------------------------------------------- diff --git a/src/java/mmm/tech/base/TBAlloyFurnaceGui.java b/src/java/mmm/tech/base/TBAlloyFurnaceGui.java index 574f50f..5b08645 100644 --- a/src/java/mmm/tech/base/TBAlloyFurnaceGui.java +++ b/src/java/mmm/tech/base/TBAlloyFurnaceGui.java @@ -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 ); diff --git a/src/resources/assets/mmm/lang/en_US.lang b/src/resources/assets/mmm/lang/en_US.lang index 0d3eecb..4579bba 100644 --- a/src/resources/assets/mmm/lang/en_US.lang +++ b/src/resources/assets/mmm/lang/en_US.lang @@ -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