mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-26 23:03:21 +00:00
Localized Meteor Cost Info (NEI) (#120)
This commit is contained in:
1 parent
860c66e081
commit
96886c1125
2 files changed
+6
-1
No files matched your search
@@ -7,6 +7,7 @@ import java.util.ArrayList;
|
||||
import net.minecraft.client.renderer.entity.RenderItem;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.StatCollector;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
@@ -66,7 +67,10 @@ public class CostInfo extends BMNEIWidget {
|
||||
GL11.glDisable(GL11.GL_BLEND);
|
||||
GL11.glPopMatrix();
|
||||
|
||||
drawCenteredText(x, y, String.format("%,d", cost));
|
||||
drawCenteredText(
|
||||
x,
|
||||
y,
|
||||
StatCollector.translateToLocalFormatted("nei.recipe.meteor.cost.gui", String.format("%,d", cost)));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user