Localized Meteor Cost Info (NEI) (#120)

This commit is contained in:
Ranzu authored and GitHub committed 2026-02-01 18:03:30 -05:00
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)));
}
}