public static void saveBasicInfoNBT(INPC entity, NBTTagCompound nbttagcompound) { try { nbttagcompound.setBoolean("damageable", entity.isDamageable()); nbttagcompound.setBoolean("gravity", entity.isGravity()); nbttagcompound.setBoolean("freezing", entity.isFreezing()); } catch (Exception e) { e.printStackTrace(); } }