Esempio n. 1
0
 /* SAVING & LOADING */
 @Override
 public void readFromNBT(NBTTagCompound data) {
   super.readFromNBT(data);
   tankManager.readFromNBT(data);
 }
Esempio n. 2
0
 @Override
 public void writeToNBT(NBTTagCompound data) {
   super.writeToNBT(data);
   tankManager.writeToNBT(data);
 }
Esempio n. 3
0
 @Override
 public void handleUpdatePacket(PacketUpdate packet) throws IOException {
   DataInputStream stream = ((PacketPayloadStream) packet.payload).stream;
   tankManager.readData(stream);
 }