Convert items to objectholder, fix some i18n and missed recipes

This commit is contained in:
Hubry committed 2019-07-05 19:40:46 +02:00
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;
}