Added config options for Sealing Table

Translations for the Sealing Table
And a Data Tag for the Block
This commit is contained in:
Sn0wStorm
2020-04-06 10:51:44 +02:00
parent 12b0a3c115
commit f4bfdfa595
10 changed files with 85 additions and 38 deletions
-14
View File
@@ -274,20 +274,6 @@ public class BrewLore {
}
}
/**
* Show the Seal-bars |*****| around the Lore Quality-Stars
*/
/*public void showSeal() {
int starsLine = Type.STARS.findInLore(lore);
if (starsLine > -1) {
StringBuilder lineEdit = new StringBuilder(lore.get(starsLine));
int index = Type.STARS.id.length();
lineEdit.insert(index, "§8[");
lineEdit.append("§8]");
lore.set(starsLine, lineEdit.toString());
}
}*/
public void updateAlc(boolean inDistiller) {
if (!brew.isUnlabeled() && (inDistiller || BConfig.alwaysShowAlc) && (!brew.hasRecipe() || brew.getCurrentRecipe().getAlcohol() > 0)) {
int alc = brew.getOrCalcAlc();