public class ClientSettingsPacket extends MinecraftPacket
| Constructor and Description |
|---|
ClientSettingsPacket(String locale,
int renderDistance,
ChatVisibility chatVisibility,
boolean chatColors,
SkinPart[] visibleParts,
Hand mainHand) |
| Modifier and Type | Method and Description |
|---|---|
ChatVisibility |
getChatVisibility() |
String |
getLocale() |
Hand |
getMainHand() |
int |
getRenderDistance() |
boolean |
getUseChatColors() |
List<SkinPart> |
getVisibleParts() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ClientSettingsPacket(String locale, int renderDistance, ChatVisibility chatVisibility, boolean chatColors, SkinPart[] visibleParts, Hand mainHand)
public String getLocale()
public int getRenderDistance()
public ChatVisibility getChatVisibility()
public boolean getUseChatColors()
public Hand getMainHand()
public void read(com.github.steveice10.packetlib.io.NetInput in)
throws IOException
IOExceptionpublic void write(com.github.steveice10.packetlib.io.NetOutput out)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.