mirror of
https://github.com/exituser/Brewery.git
synced 2026-09-17 06:38:56 +00:00
Use non-Italic Naming
This commit is contained in:
@@ -89,7 +89,7 @@ public class BIngredients {
|
|||||||
potion.setDurability(Brew.PotionColor.CYAN.getColorId(true));
|
potion.setDurability(Brew.PotionColor.CYAN.getColorId(true));
|
||||||
}
|
}
|
||||||
|
|
||||||
potionMeta.setDisplayName(cookedName);
|
potionMeta.setDisplayName(P.p.white() + cookedName);
|
||||||
// This effect stores the UID in its Duration
|
// This effect stores the UID in its Duration
|
||||||
potionMeta.addCustomEffect((PotionEffectType.REGENERATION).createEffect((uid * 4), 0), true);
|
potionMeta.addCustomEffect((PotionEffectType.REGENERATION).createEffect((uid * 4), 0), true);
|
||||||
potion.setItemMeta(potionMeta);
|
potion.setItemMeta(potionMeta);
|
||||||
|
|||||||
@@ -199,7 +199,7 @@ public class Brew {
|
|||||||
brew.currentRecipe = recipe;
|
brew.currentRecipe = recipe;
|
||||||
P.p.log("destilled " + recipe.getName(5) + " has Quality: " + brew.quality + ", alc: " + brew.calcAlcohol());
|
P.p.log("destilled " + recipe.getName(5) + " has Quality: " + brew.quality + ", alc: " + brew.calcAlcohol());
|
||||||
|
|
||||||
potionMeta.setDisplayName(recipe.getName(brew.quality));
|
potionMeta.setDisplayName(P.p.white() + recipe.getName(brew.quality));
|
||||||
|
|
||||||
// if the potion should be further distillable
|
// if the potion should be further distillable
|
||||||
if (recipe.getDistillRuns() > 1 && brew.distillRuns <= 5) {
|
if (recipe.getDistillRuns() > 1 && brew.distillRuns <= 5) {
|
||||||
@@ -208,7 +208,7 @@ public class Brew {
|
|||||||
slotItem.setDurability(PotionColor.valueOf(recipe.getColor()).getColorId(false));
|
slotItem.setDurability(PotionColor.valueOf(recipe.getColor()).getColorId(false));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
potionMeta.setDisplayName("Undefinierbares Destillat");
|
potionMeta.setDisplayName(P.p.white() + "Undefinierbares Destillat");
|
||||||
slotItem.setDurability(PotionColor.GREY.getColorId(brew.distillRuns <= 5));
|
slotItem.setDurability(PotionColor.GREY.getColorId(brew.distillRuns <= 5));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -260,7 +260,7 @@ public class Brew {
|
|||||||
potionMeta.setLore(lore);
|
potionMeta.setLore(lore);
|
||||||
}
|
}
|
||||||
|
|
||||||
potionMeta.setDisplayName(recipe.getName(brew.quality));
|
potionMeta.setDisplayName(P.p.white() + recipe.getName(brew.quality));
|
||||||
item.setDurability(PotionColor.valueOf(recipe.getColor()).getColorId(false));
|
item.setDurability(PotionColor.valueOf(recipe.getColor()).getColorId(false));
|
||||||
item.setItemMeta(potionMeta);
|
item.setItemMeta(potionMeta);
|
||||||
//}
|
//}
|
||||||
|
|||||||
@@ -315,6 +315,10 @@ public class P extends JavaPlugin {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String white() {
|
||||||
|
return ChatColor.WHITE + "";
|
||||||
|
}
|
||||||
|
|
||||||
public class DrunkRunnable implements Runnable {
|
public class DrunkRunnable implements Runnable {
|
||||||
|
|
||||||
public DrunkRunnable() {
|
public DrunkRunnable() {
|
||||||
|
|||||||
Reference in New Issue
Block a user