improve item burning
This commit is contained in:
parent
32d6f15c4a
commit
1766dfd4dc
12 changed files with 47 additions and 31 deletions
|
@ -136,9 +136,9 @@ public abstract class GuiContainer extends Gui
|
|||
if(stack.getItem().canBeDyed())
|
||||
list.add("Farbe: #" + Integer.toHexString(stack.getDyeColor()).toUpperCase());
|
||||
if(stack.getItem().getExplosive() > 0)
|
||||
list.add(Color.RED + "Explosiv!" + Color.CRIMSON + " - " + Color.DARK_RED + stack.getItem().getExplosive() + "x");
|
||||
if(stack.getItem().getFuelAmount() > 0)
|
||||
list.add("Brennwert: " + stack.getItem().getFuelAmount());
|
||||
list.add(Color.RED + "Explosiv" + Color.CRIMSON + ": " + Color.DARK_RED + stack.getItem().getExplosive() + "x");
|
||||
else if(stack.getItem().getFuelAmount() > 0)
|
||||
list.add(Color.ORANGE + "Brennwert" + Color.YELLOW + ": " + Color.LIGHT_YELLOW + stack.getItem().getFuelAmount());
|
||||
|
||||
if(stack.isItemEnchanted()) {
|
||||
for(Entry<Enchantment, Integer> enc : stack.getEnchantments()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue