Java 类net.minecraft.network.play.server.S31PacketWindowProperty 实例源码

项目:DecompiledMinecraft    文件:EntityPlayerMP.java   
public void func_175173_a(Container p_175173_1_, IInventory p_175173_2_)
{
    for (int i = 0; i < p_175173_2_.getFieldCount(); ++i)
    {
        this.playerNetServerHandler.sendPacket(new S31PacketWindowProperty(p_175173_1_.windowId, i, p_175173_2_.getField(i)));
    }
}
项目:DecompiledMinecraft    文件:EntityPlayerMP.java   
public void func_175173_a(Container p_175173_1_, IInventory p_175173_2_)
{
    for (int i = 0; i < p_175173_2_.getFieldCount(); ++i)
    {
        this.playerNetServerHandler.sendPacket(new S31PacketWindowProperty(p_175173_1_.windowId, i, p_175173_2_.getField(i)));
    }
}
项目:DecompiledMinecraft    文件:NetHandlerPlayClient.java   
/**
 * Sets the progressbar of the opened window to the specified value
 */
public void handleWindowProperty(S31PacketWindowProperty packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController);
    EntityPlayer entityplayer = this.gameController.thePlayer;

    if (entityplayer.openContainer != null && entityplayer.openContainer.windowId == packetIn.getWindowId())
    {
        entityplayer.openContainer.updateProgressBar(packetIn.getVarIndex(), packetIn.getVarValue());
    }
}
项目:BaseClient    文件:EntityPlayerMP.java   
public void func_175173_a(Container p_175173_1_, IInventory p_175173_2_)
{
    for (int i = 0; i < p_175173_2_.getFieldCount(); ++i)
    {
        this.playerNetServerHandler.sendPacket(new S31PacketWindowProperty(p_175173_1_.windowId, i, p_175173_2_.getField(i)));
    }
}
项目:BaseClient    文件:NetHandlerPlayClient.java   
/**
 * Sets the progressbar of the opened window to the specified value
 */
public void handleWindowProperty(S31PacketWindowProperty packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController);
    EntityPlayer entityplayer = this.gameController.thePlayer;

    if (entityplayer.openContainer != null && entityplayer.openContainer.windowId == packetIn.getWindowId())
    {
        entityplayer.openContainer.updateProgressBar(packetIn.getVarIndex(), packetIn.getVarValue());
    }
}
项目:BaseClient    文件:EntityPlayerMP.java   
public void func_175173_a(Container p_175173_1_, IInventory p_175173_2_)
{
    for (int i = 0; i < p_175173_2_.getFieldCount(); ++i)
    {
        this.playerNetServerHandler.sendPacket(new S31PacketWindowProperty(p_175173_1_.windowId, i, p_175173_2_.getField(i)));
    }
}
项目:BaseClient    文件:NetHandlerPlayClient.java   
/**
 * Sets the progressbar of the opened window to the specified value
 */
public void handleWindowProperty(S31PacketWindowProperty packetIn) {
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController);
    EntityPlayer entityplayer = this.gameController.thePlayer;

    if (entityplayer.openContainer != null && entityplayer.openContainer.windowId == packetIn.getWindowId()) {
        entityplayer.openContainer.updateProgressBar(packetIn.getVarIndex(), packetIn.getVarValue());
    }
}
项目:Resilience-Client-Source    文件:NetHandlerPlayClient.java   
/**
 * Sets the progressbar of the opened window to the specified value
 */
public void handleWindowProperty(S31PacketWindowProperty p_147245_1_)
{
    EntityClientPlayerMP var2 = this.gameController.thePlayer;

    if (var2.openContainer != null && var2.openContainer.windowId == p_147245_1_.func_149182_c())
    {
        var2.openContainer.updateProgressBar(p_147245_1_.func_149181_d(), p_147245_1_.func_149180_e());
    }
}
项目:Cauldron    文件:NetHandlerPlayClient.java   
public void handleWindowProperty(S31PacketWindowProperty p_147245_1_)
{
    EntityClientPlayerMP entityclientplayermp = this.gameController.thePlayer;

    if (entityclientplayermp.openContainer != null && entityclientplayermp.openContainer.windowId == p_147245_1_.func_149182_c())
    {
        entityclientplayermp.openContainer.updateProgressBar(p_147245_1_.func_149181_d(), p_147245_1_.func_149180_e());
    }
}
项目:Cauldron    文件:NetHandlerPlayClient.java   
public void handleWindowProperty(S31PacketWindowProperty p_147245_1_)
{
    EntityClientPlayerMP entityclientplayermp = this.gameController.thePlayer;

    if (entityclientplayermp.openContainer != null && entityclientplayermp.openContainer.windowId == p_147245_1_.func_149182_c())
    {
        entityclientplayermp.openContainer.updateProgressBar(p_147245_1_.func_149181_d(), p_147245_1_.func_149180_e());
    }
}
项目:Cauldron    文件:EntityPlayerMP.java   
public void sendProgressBarUpdate(Container p_71112_1_, int p_71112_2_, int p_71112_3_)
{
    this.playerNetServerHandler.sendPacket(new S31PacketWindowProperty(p_71112_1_.windowId, p_71112_2_, p_71112_3_));
}
项目:Cauldron    文件:EntityPlayerMP.java   
public void sendProgressBarUpdate(Container p_71112_1_, int p_71112_2_, int p_71112_3_)
{
    this.playerNetServerHandler.sendPacket(new S31PacketWindowProperty(p_71112_1_.windowId, p_71112_2_, p_71112_3_));
}
项目:DecompiledMinecraft    文件:EntityPlayerMP.java   
/**
 * Sends two ints to the client-side Container. Used for furnace burning time, smelting progress, brewing progress,
 * and enchanting level. Normally the first int identifies which variable to update, and the second contains the new
 * value. Both are truncated to shorts in non-local SMP.
 */
public void sendProgressBarUpdate(Container containerIn, int varToUpdate, int newValue)
{
    this.playerNetServerHandler.sendPacket(new S31PacketWindowProperty(containerIn.windowId, varToUpdate, newValue));
}
项目:DecompiledMinecraft    文件:INetHandlerPlayClient.java   
/**
 * Sets the progressbar of the opened window to the specified value
 */
void handleWindowProperty(S31PacketWindowProperty packetIn);
项目:DecompiledMinecraft    文件:EntityPlayerMP.java   
/**
 * Sends two ints to the client-side Container. Used for furnace burning time, smelting progress, brewing progress,
 * and enchanting level. Normally the first int identifies which variable to update, and the second contains the new
 * value. Both are truncated to shorts in non-local SMP.
 */
public void sendProgressBarUpdate(Container containerIn, int varToUpdate, int newValue)
{
    this.playerNetServerHandler.sendPacket(new S31PacketWindowProperty(containerIn.windowId, varToUpdate, newValue));
}
项目:DecompiledMinecraft    文件:INetHandlerPlayClient.java   
/**
 * Sets the progressbar of the opened window to the specified value
 */
void handleWindowProperty(S31PacketWindowProperty packetIn);
项目:BaseClient    文件:EntityPlayerMP.java   
/**
 * Sends two ints to the client-side Container. Used for furnace burning time, smelting progress, brewing progress,
 * and enchanting level. Normally the first int identifies which variable to update, and the second contains the new
 * value. Both are truncated to shorts in non-local SMP.
 */
public void sendProgressBarUpdate(Container containerIn, int varToUpdate, int newValue)
{
    this.playerNetServerHandler.sendPacket(new S31PacketWindowProperty(containerIn.windowId, varToUpdate, newValue));
}
项目:BaseClient    文件:INetHandlerPlayClient.java   
/**
 * Sets the progressbar of the opened window to the specified value
 */
void handleWindowProperty(S31PacketWindowProperty packetIn);
项目:BaseClient    文件:EntityPlayerMP.java   
/**
 * Sends two ints to the client-side Container. Used for furnace burning time, smelting progress, brewing progress,
 * and enchanting level. Normally the first int identifies which variable to update, and the second contains the new
 * value. Both are truncated to shorts in non-local SMP.
 */
public void sendProgressBarUpdate(Container containerIn, int varToUpdate, int newValue)
{
    this.playerNetServerHandler.sendPacket(new S31PacketWindowProperty(containerIn.windowId, varToUpdate, newValue));
}
项目:BaseClient    文件:INetHandlerPlayClient.java   
/**
 * Sets the progressbar of the opened window to the specified value
 */
void handleWindowProperty(S31PacketWindowProperty packetIn);
项目:Resilience-Client-Source    文件:EntityPlayerMP.java   
/**
 * Sends two ints to the client-side Container. Used for furnace burning time, smelting progress, brewing progress,
 * and enchanting level. Normally the first int identifies which variable to update, and the second contains the new
 * value. Both are truncated to shorts in non-local SMP.
 */
public void sendProgressBarUpdate(Container par1Container, int par2, int par3)
{
    this.playerNetServerHandler.sendPacket(new S31PacketWindowProperty(par1Container.windowId, par2, par3));
}
项目:Resilience-Client-Source    文件:INetHandlerPlayClient.java   
/**
 * Sets the progressbar of the opened window to the specified value
 */
void handleWindowProperty(S31PacketWindowProperty var1);
项目:Cauldron    文件:INetHandlerPlayClient.java   
void handleWindowProperty(S31PacketWindowProperty p_147245_1_);
项目:Cauldron    文件:INetHandlerPlayClient.java   
void handleWindowProperty(S31PacketWindowProperty p_147245_1_);