add flying types
This commit is contained in:
parent
b317139c97
commit
414dc668ff
11 changed files with 29 additions and 22 deletions
|
@ -157,7 +157,6 @@ import common.packet.HPacketHandshake;
|
|||
import common.packet.CPacketAction.Action;
|
||||
import common.potion.Potion;
|
||||
import common.potion.PotionEffect;
|
||||
import common.potion.PotionHelper;
|
||||
import common.properties.IProperty;
|
||||
import common.rng.Random;
|
||||
import common.sound.EventType;
|
||||
|
@ -937,7 +936,7 @@ public class Client implements IThreadListener {
|
|||
for(PotionEffect effect : this.player.getEffects()) {
|
||||
Potion potion = effect.getPotion();
|
||||
int color = potion.getColor();
|
||||
String name = (potion.isBadEffect() ? TextColor.ORANGE : TextColor.ACID) + potion.getDisplay() + PotionHelper.getPotionPotency(effect.getAmplifier());
|
||||
String name = (potion.isBadEffect() ? TextColor.ORANGE : TextColor.ACID) + effect.getEffectName();
|
||||
String desc = TextColor.NEON + effect.getDurationString();
|
||||
// Drawing.drawRectColor(x, y, 250, Font.DEFAULT.yglyph + 2, color | 0xff000000);
|
||||
Drawing.drawRectBorder(x, y, 250, Font.YGLYPH + 4, 0xff000000, 0xff202020, 0xffcfcfcf, 0xff6f6f6f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue