public void func_147100_a(C15PacketClientSettings p_147100_1_) { this.translator = p_147100_1_.func_149524_c(); int var2 = 256 >> p_147100_1_.func_149521_d(); if (var2 > 3 && var2 < 15) { this.renderDistance = var2; } this.chatVisibility = p_147100_1_.func_149523_e(); this.chatColours = p_147100_1_.func_149520_f(); if (this.mcServer.isSinglePlayer() && this.mcServer.getServerOwner().equals(this.getCommandSenderName())) { this.mcServer.func_147139_a(p_147100_1_.func_149518_g()); } this.setHideCape(1, !p_147100_1_.func_149519_h()); }
public void func_147100_a(C15PacketClientSettings p_147100_1_) { this.translator = p_147100_1_.func_149524_c(); int i = 256 >> p_147100_1_.func_149521_d(); if (i > 3 && i < 20) { ; } this.chatVisibility = p_147100_1_.func_149523_e(); this.chatColours = p_147100_1_.func_149520_f(); if (this.mcServer.isSinglePlayer() && this.mcServer.getServerOwner().equals(this.getCommandSenderName())) { this.mcServer.func_147139_a(p_147100_1_.func_149518_g()); } this.setHideCape(1, !p_147100_1_.func_149519_h()); }
public void handleClientSettings(C15PacketClientSettings packetIn) { this.translator = packetIn.getLang(); this.chatVisibility = packetIn.getChatVisibility(); this.chatColours = packetIn.isColorsEnabled(); this.getDataWatcher().updateObject(10, Byte.valueOf((byte)packetIn.getModelPartFlags())); }
/** * Send a client info packet with settings information to the server */ public void sendSettingsToServer() { if (this.mc.thePlayer != null) { int i = 0; for (EnumPlayerModelParts enumplayermodelparts : this.setModelParts) { i |= enumplayermodelparts.getPartMask(); } this.mc.thePlayer.sendQueue.addToSendQueue(new C15PacketClientSettings(this.language, this.renderDistanceChunks, this.chatVisibility, this.chatColours, i)); } }
/** * Send a client info packet with settings information to the server */ public void sendSettingsToServer() { if (this.mc.thePlayer != null) { int i = 0; for (Object enumplayermodelparts : this.setModelParts) { i |= ((EnumPlayerModelParts)enumplayermodelparts).getPartMask(); } this.mc.thePlayer.sendQueue.addToSendQueue(new C15PacketClientSettings(this.language, this.renderDistanceChunks, this.chatVisibility, this.chatColours, i)); } }
/** * Send a client info packet with settings information to the server */ public void sendSettingsToServer() { if (this.mc.thePlayer != null) { int i = 0; for (Object enumplayermodelparts : this.setModelParts) { i |= ((EnumPlayerModelParts) enumplayermodelparts).getPartMask(); } this.mc.thePlayer.sendQueue.addToSendQueue(new C15PacketClientSettings(this.language, this.renderDistanceChunks, this.chatVisibility, this.chatColours, i)); } }
/** * Send a client info packet with settings information to the server */ public void sendSettingsToServer() { if (this.mc.thePlayer != null) { this.mc.thePlayer.sendQueue.addToSendQueue(new C15PacketClientSettings(this.language, this.renderDistanceChunks, this.chatVisibility, this.chatColours, this.difficulty, this.showCape)); } }
public void sendSettingsToServer() { if (this.mc.thePlayer != null) { this.mc.thePlayer.sendQueue.addToSendQueue(new C15PacketClientSettings(this.language, this.renderDistanceChunks, this.chatVisibility, this.chatColours, this.difficulty, this.showCape)); } }
/** * Updates serverside copy of client settings: language, render distance, chat visibility, chat colours, difficulty, * and whether to show the cape */ public void processClientSettings(C15PacketClientSettings packetIn) { PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.playerEntity.getServerForPlayer()); this.playerEntity.handleClientSettings(packetIn); }
/** * Updates serverside copy of client settings: language, render distance, chat visibility, chat colours, difficulty, * and whether to show the cape */ public void processClientSettings(C15PacketClientSettings p_147352_1_) { this.playerEntity.func_147100_a(p_147352_1_); }
@Override public void processClientSettings(C15PacketClientSettings p_147352_1_) { }
public void processClientSettings(C15PacketClientSettings p_147352_1_) { this.playerEntity.func_147100_a(p_147352_1_); }
@Override public void func_147100_a(C15PacketClientSettings pkt){ return; }
/** * Updates serverside copy of client settings: language, render distance, chat visibility, chat colours, difficulty, * and whether to show the cape */ void processClientSettings(C15PacketClientSettings packetIn);
/** * Updates serverside copy of client settings: language, render distance, chat visibility, chat colours, difficulty, * and whether to show the cape */ void processClientSettings(C15PacketClientSettings var1);
void processClientSettings(C15PacketClientSettings p_147352_1_);