Solved 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"
-
@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"
-
@mems no, i changed those lines, and nothing changed
-
@wxdbie Try modifying the values in line 75.
-
@mems I have this in line 75:
-
@wxdbie said in NameTags | Color of nick:
@mems I have this in line 75:
Then find this code:
glColor4f(1F, 1F, 1F, 1F)
-
@mems oh, ty
-
wxdbie
-
wxdbie
-
@mems but for reason it did not work:
-
@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.
-
@mems said in NameTags | Color of nick:
No clue. Try testing on other servers too. Either way, use b73 as the cross version code is removed.
hm, okay thanks
-
@mems but you said that you cant code??? wtf!!!!!!
-
This post is deleted! -
.nametags clearnames true
-
@stfwissue I try
-
@stfwissue ty
< 3
-
wxdbie
-
@wxdbie you thanked the wrong person