Java 类net.minecraft.network.play.client.C15PacketClientSettings 实例源码

项目:Resilience-Client-Source    文件:EntityPlayerMP.java   
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());
}
项目:Cauldron    文件:EntityPlayerMP.java   
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());
}
项目:Cauldron    文件:EntityPlayerMP.java   
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());
}
项目:DecompiledMinecraft    文件:EntityPlayerMP.java   
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()));
}
项目:DecompiledMinecraft    文件:EntityPlayerMP.java   
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()));
}
项目:DecompiledMinecraft    文件:GameSettings.java   
/**
 * 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));
    }
}
项目:BaseClient    文件:EntityPlayerMP.java   
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()));
}
项目:BaseClient    文件:GameSettings.java   
/**
 * 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));
    }
}
项目:BaseClient    文件:EntityPlayerMP.java   
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()));
}
项目:BaseClient    文件:GameSettings.java   
/**
 * 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));
    }
}
项目:PopularMMOS-EpicProportions-Mod    文件:GameSettings.java   
/**
 * 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));
    }
}
项目:Resilience-Client-Source    文件:GameSettings.java   
/**
 * 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));
    }
}
项目:Cauldron    文件:GameSettings.java   
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));
    }
}
项目:Cauldron    文件:GameSettings.java   
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));
    }
}
项目:DecompiledMinecraft    文件:NetHandlerPlayServer.java   
/**
 * 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);
}
项目:DecompiledMinecraft    文件:NetHandlerPlayServer.java   
/**
 * 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);
}
项目:BaseClient    文件:NetHandlerPlayServer.java   
/**
 * 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);
}
项目:BaseClient    文件:NetHandlerPlayServer.java   
/**
 * 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);
}
项目:Resilience-Client-Source    文件:NetHandlerPlayServer.java   
/**
 * 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_);
}
项目:Gadomancy    文件:FakeNetServerHandler.java   
@Override
public void processClientSettings(C15PacketClientSettings p_147352_1_) {
}
项目:Cauldron    文件:NetHandlerPlayServer.java   
public void processClientSettings(C15PacketClientSettings p_147352_1_)
{
    this.playerEntity.func_147100_a(p_147352_1_);
}
项目:Cauldron    文件:NetHandlerPlayServer.java   
public void processClientSettings(C15PacketClientSettings p_147352_1_)
{
    this.playerEntity.func_147100_a(p_147352_1_);
}
项目:PneumaticCraft    文件:EntityDrone.java   
@Override
public void func_147100_a(C15PacketClientSettings pkt){
    return;
}
项目:DecompiledMinecraft    文件:INetHandlerPlayServer.java   
/**
 * Updates serverside copy of client settings: language, render distance, chat visibility, chat colours, difficulty,
 * and whether to show the cape
 */
void processClientSettings(C15PacketClientSettings packetIn);
项目:DecompiledMinecraft    文件:INetHandlerPlayServer.java   
/**
 * Updates serverside copy of client settings: language, render distance, chat visibility, chat colours, difficulty,
 * and whether to show the cape
 */
void processClientSettings(C15PacketClientSettings packetIn);
项目:BaseClient    文件:INetHandlerPlayServer.java   
/**
 * Updates serverside copy of client settings: language, render distance, chat visibility, chat colours, difficulty,
 * and whether to show the cape
 */
void processClientSettings(C15PacketClientSettings packetIn);
项目:BaseClient    文件:INetHandlerPlayServer.java   
/**
 * Updates serverside copy of client settings: language, render distance, chat visibility, chat colours, difficulty,
 * and whether to show the cape
 */
void processClientSettings(C15PacketClientSettings packetIn);
项目:Resilience-Client-Source    文件:INetHandlerPlayServer.java   
/**
 * Updates serverside copy of client settings: language, render distance, chat visibility, chat colours, difficulty,
 * and whether to show the cape
 */
void processClientSettings(C15PacketClientSettings var1);
项目:TRHS_Club_Mod_2016    文件:FakePlayer.java   
@Override public void func_147100_a(C15PacketClientSettings pkt){ return; }
项目:CauldronGit    文件:FakePlayer.java   
@Override public void func_147100_a(C15PacketClientSettings pkt){ return; }
项目:Cauldron    文件:FakePlayer.java   
@Override public void func_147100_a(C15PacketClientSettings pkt){ return; }
项目:Cauldron    文件:FakePlayer.java   
@Override public void func_147100_a(C15PacketClientSettings pkt){ return; }
项目:Cauldron    文件:INetHandlerPlayServer.java   
void processClientSettings(C15PacketClientSettings p_147352_1_);
项目:Cauldron    文件:FakePlayer.java   
@Override public void func_147100_a(C15PacketClientSettings pkt){ return; }
项目:Cauldron    文件:INetHandlerPlayServer.java   
void processClientSettings(C15PacketClientSettings p_147352_1_);