Hat - VictorWesterlund/labylib GitHub Wiki
from labylib import Hat
What you can change:
Class | Function |
---|---|
Hat.Texture |
Template texture |
Hat.Visibility |
Cosmetic visibility |
hat_texture = Hat.Texture(PHPSESSID)
hat_texture.update("<Name>")
LabyMod hats feature a predefined country-inspired texture. Pass a supported ISO-3166-1 country code to update()
.
Country | Name |
---|---|
"DEFAULT" | (Default hat) |
"AL" | Albania |
"AT" | Austria |
"BE" | Belgium |
"HR" | Croatia |
"CZ" | Czech Republic |
"GB" | England |
"FR" | France |
"DE" | Germany |
"HU" | Hungary |
"IS" | Iceland |
"IT" | Italy |
"NIE" | Northen Ireland |
"PL" | Poland |
"PT" | Portugal |
"IE" | Ireland |
"RO" | Romania |
"RU" | Russia |
"SK" | Slovakia |
"ES" | Spain |
"SE" | Sweden |
"CH" | Switzerland |
"TR" | Turkey |
"UA" | Ukraine |
"WGB" | Wales |
hat_vis = Hat.Visibility(PHPSESSID)
hat_vis.update("<Value>")
Hide or show the cosmetic.
Action | Value |
---|---|
Show | "show" |
Hide | "hide" |
an int
can also be passed as Visibile = True/False