NameTags | Color of nick
-
Please tell me line responsible for color of nickval fontRenderer = fontValue.get() val bot = AntiBot.isBot(entity) val nameColor = if (bot) "§f" else if (entity.isInvisible) "§f" else if (entity.isSneaking) "§f" else "§f" val ping = if (entity is EntityPlayer) EntityUtils.getPing(entity) else 0 val distanceText = if (distanceValue.get()) "§f${mc.thePlayer.getDistanceToEntity(entity).roundToInt()}m " else "" val pingText = if (pingValue.get() && entity is EntityPlayer) (if (ping > 200) "§c" else if (ping > 100) "§e" else "§a") + ping + "ms §f" else "" val healthText = if (healthValue.get()) "§f§c " + entity.health.toInt() + " ❤" else "" val botText = if (bot) " §c§lBot" else "" val text = "$distanceText$pingText$nameColor$tag$healthText$botText"
-
Please tell me line responsible for color of nickval fontRenderer = fontValue.get() val bot = AntiBot.isBot(entity) val nameColor = if (bot) "§f" else if (entity.isInvisible) "§f" else if (entity.isSneaking) "§f" else "§f" val ping = if (entity is EntityPlayer) EntityUtils.getPing(entity) else 0 val distanceText = if (distanceValue.get()) "§f${mc.thePlayer.getDistanceToEntity(entity).roundToInt()}m " else "" val pingText = if (pingValue.get() && entity is EntityPlayer) (if (ping > 200) "§c" else if (ping > 100) "§e" else "§a") + ping + "ms §f" else "" val healthText = if (healthValue.get()) "§f§c " + entity.health.toInt() + " ❤" else "" val botText = if (bot) " §c§lBot" else "" val text = "$distanceText$pingText$nameColor$tag$healthText$botText"
@wxdbie said in NameTags | Color of nick:
Please tell me line responsible for color of nickval fontRenderer = fontValue.get() val bot = AntiBot.isBot(entity) val nameColor = if (bot) "§f" else if (entity.isInvisible) "§f" else if (entity.isSneaking) "§f" else "§f" val ping = if (entity is EntityPlayer) EntityUtils.getPing(entity) else 0 val distanceText = if (distanceValue.get()) "§f${mc.thePlayer.getDistanceToEntity(entity).roundToInt()}m " else "" val pingText = if (pingValue.get() && entity is EntityPlayer) (if (ping > 200) "§c" else if (ping > 100) "§e" else "§a") + ping + "ms §f" else "" val healthText = if (healthValue.get()) "§f§c " + entity.health.toInt() + " ❤" else "" val botText = if (bot) " §c§lBot" else "" val text = "$distanceText$pingText$nameColor$tag$healthText$botText"
val nameColor = if (bot) "§f" else if (entity.isInvisible) "§f" else if (entity.isSneaking) "§f" else "§f"
-
@wxdbie said in NameTags | Color of nick:
Please tell me line responsible for color of nickval fontRenderer = fontValue.get() val bot = AntiBot.isBot(entity) val nameColor = if (bot) "§f" else if (entity.isInvisible) "§f" else if (entity.isSneaking) "§f" else "§f" val ping = if (entity is EntityPlayer) EntityUtils.getPing(entity) else 0 val distanceText = if (distanceValue.get()) "§f${mc.thePlayer.getDistanceToEntity(entity).roundToInt()}m " else "" val pingText = if (pingValue.get() && entity is EntityPlayer) (if (ping > 200) "§c" else if (ping > 100) "§e" else "§a") + ping + "ms §f" else "" val healthText = if (healthValue.get()) "§f§c " + entity.health.toInt() + " ❤" else "" val botText = if (bot) " §c§lBot" else "" val text = "$distanceText$pingText$nameColor$tag$healthText$botText"
val nameColor = if (bot) "§f" else if (entity.isInvisible) "§f" else if (entity.isSneaking) "§f" else "§f"
-
@wxdbie said in NameTags | Color of nick:
@mems I have this in line 75:
Then find this code:
glColor4f(1F, 1F, 1F, 1F)
-
W wxdbie has marked this topic as solved on
-
W wxdbie has marked this topic as unsolved on
-
@wxdbie said in NameTags | Color of nick:
@mems I have this in line 75:
Then find this code:
glColor4f(1F, 1F, 1F, 1F)
-
@wxdbie said in NameTags | Color of nick:
@mems but for reason it did not work:
This:
val nameColor = if (bot) "§f" else if (entity.isInvisible) "§f" else if (entity.isSneaking) "§f" else "§f"
worked for me.But as it seems, you are either using a custom LiquidBounce, or the cross version edition of LiquidBounce, and I can't help with that.
-
@wxdbie said in NameTags | Color of nick:
@mems but for reason it did not work:
This:
val nameColor = if (bot) "§f" else if (entity.isInvisible) "§f" else if (entity.isSneaking) "§f" else "§f"
worked for me.But as it seems, you are either using a custom LiquidBounce, or the cross version edition of LiquidBounce, and I can't help with that.
-
@wxdbie said in NameTags | Color of nick:
@mems I use b72. yes the first method works, but only in server lobby
Lobby:
MiniGame:
This doesn't occur to me.
-
-
@wxdbie said in NameTags | Color of nick:
um, can server control this?
No clue. Try testing on other servers too. Either way, use b73 as the cross version code is removed.
-
@wxdbie said in NameTags | Color of nick:
Please tell me line responsible for color of nickval fontRenderer = fontValue.get() val bot = AntiBot.isBot(entity) val nameColor = if (bot) "§f" else if (entity.isInvisible) "§f" else if (entity.isSneaking) "§f" else "§f" val ping = if (entity is EntityPlayer) EntityUtils.getPing(entity) else 0 val distanceText = if (distanceValue.get()) "§f${mc.thePlayer.getDistanceToEntity(entity).roundToInt()}m " else "" val pingText = if (pingValue.get() && entity is EntityPlayer) (if (ping > 200) "§c" else if (ping > 100) "§e" else "§a") + ping + "ms §f" else "" val healthText = if (healthValue.get()) "§f§c " + entity.health.toInt() + " ❤" else "" val botText = if (bot) " §c§lBot" else "" val text = "$distanceText$pingText$nameColor$tag$healthText$botText"
val nameColor = if (bot) "§f" else if (entity.isInvisible) "§f" else if (entity.isSneaking) "§f" else "§f"
-
W wxdbie has marked this topic as solved on
-
@wxdbie you thanked the wrong person