Advertisement
robin4002

Untitled

Sep 23rd, 2013
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.34 KB | None | 0 0
  1.     public Packet getDescriptionPacket()
  2.     {
  3.         NBTTagCompound nbttagcompound = new NBTTagCompound();
  4.         this.writeToNBT(nbttagcompound);
  5.         return new Packet132TileEntityData(this.xCoord, this.yCoord, this.zCoord, 4, nbttagcompound);
  6.     }
  7.  
  8.     public void onDataPacket(INetworkManager net, Packet132TileEntityData pkt)
  9.     {
  10.         this.readFromNBT(pkt.data);
  11.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement