public void a(Container container, int i0, ItemStack itemstack) { if (!(container.a(i0) instanceof SlotCrafting)) { if (!this.h) { this.a.b(new Packet103SetSlot(container.d, i0, itemstack)); } } }
public void a(EntityHuman entityhuman) { super.a(entityhuman); if (!this.c.isStatic) { for (int i = 0; i < 9; ++i) { ItemStack itemstack = this.craftInventory.splitWithoutUpdate(i); if (itemstack != null) { entityhuman.drop(itemstack); } } } }
public void a(Container container) { this.a(container, container.a()); }
public void updateInventory(Container container) { this.a(container, container.a()); }
public void a(IInventory iinventory) { super.a(iinventory); if (iinventory == this.g) { this.e(); } }
/* */ public void a() /* */ { /* 70 */ super.a(); /* */ /* 72 */ for (int var1 = 0; var1 < this.listeners.size(); var1++) /* */ { /* 74 */ ICrafting var2 = (ICrafting) this.listeners.get(var1); /* */ /* 76 */ if (this.sunTimeScaled != this.collector.sunTimeScaled) /* */ { /* 78 */ var2.setContainerData(this, 0, this.collector.sunTimeScaled); /* */ } /* */ /* 81 */ if (this.sunStatus != this.collector.currentSunStatus) /* */ { /* 83 */ var2.setContainerData(this, 1, this.collector.currentSunStatus); /* */ } /* */ /* 86 */ if (this.currentFuelProgress != this.collector.currentFuelProgress) /* */ { /* 88 */ var2.setContainerData(this, 2, this.collector.currentFuelProgress); /* */ } /* */ /* 91 */ if (this.isUsingPower != this.collector.isUsingPower) /* */ { /* 93 */ var2.setContainerData(this, 3, this.collector.isUsingPower ? 1 : 0); /* */ } /* */ /* 96 */ if (this.isUsingPower != this.collector.isUsingPower) /* */ { /* 98 */ var2.setContainerData(this, 4, this.collector.isUsingPower ? 1 : 0); /* */ } /* */ /* 101 */ if (this.kleinProgressScaled != this.collector.kleinProgressScaled) /* */ { /* 103 */ var2.setContainerData(this, 5, this.collector.kleinProgressScaled); /* */ } /* */ /* 106 */ if (this.kleinPoints != this.collector.kleinPoints) /* */ { /* 108 */ var2.setContainerData(this, 6, this.collector.kleinPoints & 0xFFFF); /* */ } /* */ /* 111 */ if (this.kleinPoints != this.collector.kleinPoints) /* */ { /* 113 */ var2.setContainerData(this, 7, this.collector.kleinPoints >>> 16); /* */ } /* */ /* 116 */ if (this.sunTime != this.collector.collectorSunTime) /* */ { /* 118 */ var2.setContainerData(this, 8, this.collector.collectorSunTime & 0xFFFF); /* */ } /* */ /* 121 */ if (this.sunTime != this.collector.collectorSunTime) /* */ { /* 123 */ var2.setContainerData(this, 9, this.collector.collectorSunTime >>> 16); /* */ } /* */ } /* */ /* 127 */ this.sunTime = this.collector.collectorSunTime; /* 128 */ this.kleinPoints = this.collector.kleinPoints; /* 129 */ this.isUsingPower = this.collector.isUsingPower; /* 130 */ this.sunTimeScaled = this.collector.sunTimeScaled; /* 131 */ this.sunStatus = this.collector.currentSunStatus; /* 132 */ this.currentFuelProgress = this.collector.currentFuelProgress; /* 133 */ this.kleinProgressScaled = this.collector.kleinProgressScaled; /* */ }