mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-17 10:55:17 +00:00
Fix #3016 composite lens names
This commit is contained in:
1 parent
45b3dd3bab
commit
a7e4e26e06
14 files changed
+27
-26
No files matched your search
@@ -24,6 +24,7 @@ import net.minecraft.util.text.ITextComponent;
|
||||
import net.minecraftforge.items.SlotItemHandler;
|
||||
import vazkii.botania.client.lib.LibResources;
|
||||
import vazkii.botania.common.block.ModBlocks;
|
||||
import vazkii.botania.common.item.ModItems;
|
||||
|
||||
public class GuiFlowerBag extends ContainerScreen<ContainerFlowerBag> {
|
||||
|
||||
@@ -42,7 +43,7 @@ public class GuiFlowerBag extends ContainerScreen<ContainerFlowerBag> {
|
||||
|
||||
@Override
|
||||
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
|
||||
String s = I18n.format("item.botania:flowerBag.name");
|
||||
String s = I18n.format(ModItems.flowerBag.getTranslationKey());
|
||||
font.drawString(s, xSize / 2 - font.getStringWidth(s) / 2, 6, 4210752);
|
||||
font.drawString(I18n.format("container.inventory"), 8, ySize - 96 + 2, 4210752);
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ public class ItemLens extends ItemMod implements ILensControl, ICompositableLens
|
||||
return super.getDisplayName(stack);
|
||||
String shortKeyA = stack.getTranslationKey() + ".short";
|
||||
String shortKeyB = compositeLens.getTranslationKey() + ".short";
|
||||
return new TranslationTextComponent("item.botania:compositeLens", new TranslationTextComponent(shortKeyA), new TranslationTextComponent(shortKeyB));
|
||||
return new TranslationTextComponent("item.botania.composite_lens", new TranslationTextComponent(shortKeyA), new TranslationTextComponent(shortKeyB));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user