mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 20:22:33 +00:00
Convert items to objectholder, fix some i18n and missed recipes
This commit is contained in:
1 parent
b9980ffaac
commit
99eb08a303
22 files changed
+1135
-1072
No files matched your search
@@ -134,8 +134,8 @@ public class ItemBrewBase extends ItemMod implements IBrewItem {
|
||||
@Nonnull
|
||||
@Override
|
||||
public ITextComponent getDisplayName(@Nonnull ItemStack stack) {
|
||||
ITextComponent cmp = new TranslationTextComponent(getTranslationKey(), new TranslationTextComponent(getBrew(stack).getUnlocalizedName(stack)));
|
||||
cmp.appendSibling(new StringTextComponent(Integer.toString(getSwigsLeft(stack))).applyTextStyle(TextFormatting.BOLD));
|
||||
ITextComponent cmp = new TranslationTextComponent(getTranslationKey(), new TranslationTextComponent(getBrew(stack).getUnlocalizedName(stack)),
|
||||
new StringTextComponent(Integer.toString(getSwigsLeft(stack))).applyTextStyle(TextFormatting.BOLD));
|
||||
return cmp;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user