@Override
 public void addCraftingToCrafters(ICrafting icrafting) {
   super.addCraftingToCrafters(icrafting);
   icrafting.sendProgressBarUpdate(this, 0, robit.furnaceCookTime);
   icrafting.sendProgressBarUpdate(this, 1, robit.furnaceBurnTime);
   icrafting.sendProgressBarUpdate(this, 2, robit.currentItemBurnTime);
 }
 @Override
 public void addCraftingToCrafters(ICrafting par1ICrafting) {
   super.addCraftingToCrafters(par1ICrafting);
   par1ICrafting.sendProgressBarUpdate(this, 0, this.furnace.furnaceCookTime);
   par1ICrafting.sendProgressBarUpdate(this, 1, this.furnace.furnaceBurnTime);
   par1ICrafting.sendProgressBarUpdate(this, 2, this.furnace.currentItemBurnTime);
 }
  @Override
  public void addCraftingToCrafters(ICrafting iCrafting) {
    super.addCraftingToCrafters(iCrafting);

    iCrafting.sendProgressBarUpdate(this, 0, campfireEnt.furnaceCookTime);
    iCrafting.sendProgressBarUpdate(this, 1, campfireEnt.furnaceBurnTime);
    iCrafting.sendProgressBarUpdate(this, 2, campfireEnt.currentItemBurnTime);
  }
  @Override
  public void addCraftingToCrafters(ICrafting crafter) {
    super.addCraftingToCrafters(crafter);

    if (!(crafter instanceof EntityPlayerMP)) {
      return;
    }

    EntityPlayerMP player = (EntityPlayerMP) crafter;

    NetworkHandler.CHANNEL.sendTo(
        new MessageContainerProperties(this.windowId, 0, tileEntity.processingTicks), player);
    NetworkHandler.CHANNEL.sendTo(
        new MessageContainerProperties(this.windowId, 1, tileEntity.maxProcessingTicks), player);
    NetworkHandler.CHANNEL.sendTo(
        new MessageContainerProperties(this.windowId, 2, tileEntity.burningTicks), player);
    NetworkHandler.CHANNEL.sendTo(
        new MessageContainerProperties(this.windowId, 3, tileEntity.maxBurningTicks), player);
  }
 public void addCraftingToCrafters(ICrafting par1ICrafting) {
   super.addCraftingToCrafters(par1ICrafting);
   par1ICrafting.sendProgressBarUpdate(this, 0, this.altar.furnaceCookTime);
 }
 @Override
 public void addCraftingToCrafters(ICrafting crafter) {
   super.addCraftingToCrafters(crafter);
   crafter.sendProgressBarUpdate(this, 0, tileEntityColourMixer.getColourFamily().ordinal());
   lastColourFamily = tileEntityColourMixer.getColourFamily();
 }
Example #7
0
 public void addCraftingToCrafters(ICrafting par1ICrafting) {
   super.addCraftingToCrafters(par1ICrafting);
 }
 public void addCraftingToCrafters(ICrafting icrafting) {
   super.addCraftingToCrafters(icrafting);
   icrafting.sendProgressBarUpdate(this, 0, this.tileEntity.cookTime);
 }
 public void addCraftingToCrafters(ICrafting p_75132_1_) {
   super.addCraftingToCrafters(p_75132_1_);
   p_75132_1_.sendProgressBarUpdate(this, 0, this.field_82865_g);
   p_75132_1_.sendProgressBarUpdate(this, 1, this.field_82867_h);
   p_75132_1_.sendProgressBarUpdate(this, 2, this.field_82868_i);
 }
 @Override
 public void addCraftingToCrafters(ICrafting listener) {
   //		LogHelper.info("ContainerInventoryDodo: addCraftingToCrafters called.");
   super.addCraftingToCrafters(listener);
   listener.func_175173_a(this, invDodo);
 }
 @Override
 public void addCraftingToCrafters(ICrafting icrafting) {
   super.addCraftingToCrafters(icrafting);
   icrafting.sendProgressBarUpdate(this, 0, this.tileEntity.getEnergyStored(ForgeDirection.SOUTH));
 }
 @Override
 public void addCraftingToCrafters(ICrafting crafting) {
   super.addCraftingToCrafters(crafting);
   crafting.sendProgressBarUpdate(this, 0, planter.fuel);
 }