improve item burning

This commit is contained in:
Sen 2025-08-02 16:48:05 +02:00
parent 32d6f15c4a
commit 1766dfd4dc
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
12 changed files with 47 additions and 31 deletions

View file

@ -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()) {