コード例 #1
0
 /** Don't forget to override this function in all children if you want more vars! */
 @Override
 public void writeToNBT(NBTTagCompound tag) {
   super.writeToNBT(tag);
   tag.setInteger("delay", delay);
   tag.setBoolean("isPowered", isPowered);
 }