예제 #1
0
 void sendButton(int var1) {
   Packet212GuiEvent var2 = new Packet212GuiEvent();
   var2.eventId = 1;
   var2.windowId = this.inventorySlots.windowId;
   var2.addByte(var1);
   var2.encode();
   CoreProxy.sendPacketToServer(var2);
 }
예제 #2
0
 protected void sendItemUpdate() {
   Packet211TileDesc var1 = new Packet211TileDesc();
   var1.subId = 11;
   var1.xCoord = this.xCoord;
   var1.yCoord = this.yCoord;
   var1.zCoord = this.zCoord;
   this.pipebuf.writeToPacket(var1);
   var1.encode();
   CoreProxy.sendPacketToPosition(this.worldObj, var1, this.xCoord, this.zCoord);
 }